Any experiment implementation for "reflection for C++26"?

Hi, is there anyone planning to add an experimental implementation in Reflection for C++26?

I haven’t heard of such person, and I doubt anyone have spare cycles to work on that as we try to finish implementing C++20 and C++23.

1 Like

I recently heard in a podcast (Episode 375 : CppCast) that there already exists some implementation. Reading the linked document, it states:

Lock3 implemented the equivalent of much that is proposed here in a fork of Clang (specifically, it worked with the P1240 proposal, but also included several other capabilities including a first-class injection mechanism).

It might be worth contacting that person to get a headstart on such an implementation.

This matches my understanding as well, there are a few attempts at various versions of reflection in experimental branches ‘around’, from those interested in the paper. None that have been made particularly public/engaged with clang, but they ARE out there.

An experimental implementation in EDG is available on godbolt.org.