Re:C++26 is done ISO C++ standards meeting, Trip Report
by cpeterso on Sunday March 29, 2026 @05:46PM
(#47567708)
Clang’s C++2c implementation status page simply says “no” for both reflection and contracts. GCC’s says “yes”.
Re:C++26 is done ISO C++ standards meeting, Trip Report
by dataflow on Sunday March 29, 2026 @10:15PM
(#47569661)
That much I'm aware, but that's just about feature availability. I was wondering how far the implementations have progressed internally, despite the features being unavailable.
Re:C++26 is done ISO C++ standards meeting, Trip Report
by tbaeder on Monday March 30, 2026 @03:26AM
(#47571452)
Clang basically doesn't implement anything regarding reflection right now. There is some support for parsing (https://github.com/llvm/llvm-project/blob/main/clang/test/Pa...) but that's it. There are some open PRs for other parts though.
Re:C++26 is done ISO C++ standards meeting, Trip Report
by dataflow on Monday March 30, 2026 @10:40AM
(#47574979)
Thanks, yeah, I was worried that might be the case. Given how complicated these features sound, it makes me wonder if they're gonna finish before the decade is over...
Re:C++26 is done ISO C++ standards meeting, Trip Report
by Asmod4n on Monday March 30, 2026 @04:19AM
(#47571788)
Bloomberg has a clang implementation of reflection: https://github.com/bloomberg/clang-p2996
It has been on compiler explorer for a while
This has been used to add reflection to simdjson
How far is Clang on reflection and contracts?