Attribute & Reflection libraries for C++?

There is a new project providing reflection in C++ using a totally different approach: CAMP.
https://github.com/tegesoft/camp

CAMP doesn’t use a precompiler, the classes/properties/functions/… are declared manually using a syntax similar to boost.python or luabind. Of course, people can use a precompiler like gccxml or open-c++ to generate this declaration if they prefer.

It’s based on pure C++ and boost headers only, and thanks to the power of template meta-programming it supports any kind of bindable entity (inheritance and strange constructors are not a problem, for example).

It is distributed under the MIT licence (previously LGPL).

Leave a Comment