Usage
This library is usefull to get the name of the class or the prototypes of functions in a reproductible way which does not depend on the compiler's implementation. In short typeid is broken and this library can fix it.
And if you want to add your own type and make it usable with the interface of PhoenixTypeStream you have to specialized the phoenix_getTypeName function :
#include "phoenix_type_stream.h"
struct Shadok{
///Age the Shadok
int p_age;
///Name of the Shadok
std::string name;
};
template<>
std::string phoenix_getTypeName<Shadok>(){
return "Shadok";
}
Then you can call phoenix_getTypeToStr to get the name of any type as std::string, including this Shadok.