On Wed, 23 Oct 2024 at 19:10, Phil Phil via Gcc-help <gcc-help@xxxxxxxxxxx> wrote: > I wanted some reflection functionality of boost pfr > > https://stackoverflow.com/questions/77464428/how-does-boost-pfr-get-the-names-of-fields-of-a-struct At a guess, it depends on https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0732r2.pdf which is supported by GCC 9. Although it might also depend on https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1907r1.html which isn't fully supported until GCC 11.