C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Core language feature idea: structural typing support without templates

From: Simon Schröder <dr.simon.schroeder_at_[hidden]>
Date: Sat, 30 Aug 2025 13:01:42 +0200
> On Aug 29, 2025, at 7:02 PM, Tek, Robert Mate via Std-Proposals <std-proposals_at_[hidden]> wrote:
>
> I looked into C++ 26 reflections, but I am not sure if they could be used for what I am trying to achieve. I don't fully understand them yet.

C++26 will not be perfect. You might want to watch Herb Sutter‘s recently uploaded talk https://youtu.be/kKbT0Vg3ISw to get some ideas how to implement your ideas with reflection. It will not be perfect. However, your proposal would target C++29 and we‘ll have much better reflection support in C++29. I believe a good library-based solution using C++29 reflection should be possible by then.

Received on 2025-08-30 11:01:56