mercredi 31 mars 2021

Experimenting With Static Reflection in C++

I’m just watching the video CppCon 2017: Herb Sutter “Meta: Thoughts on generative C++” (https://youtu.be/4AfRAVcThyA )

At 15:02 there is some discussion about a topic which I understand to be “static reflection”.

I think it looks really cool, but when I try to compile the example with the g++-10 compiler it doesn’t work. Is there a special header file that I need to include to get this to work? If so, which one? Should I maybe try a different compiler ? If so, which do you recommend? Or do I have to wait for like C++23 to try some of this cool stuff out?

I’d really like to play around with this now if possible. If anyone could point me in the right direction, I’d appreciate it.

Thank you,

Dave





Aucun commentaire:

Enregistrer un commentaire