25 #ifndef CPN_QUEUEDATATYPES_H
26 #define CPN_QUEUEDATATYPES_H
37 bool TypeCompatable(
const std::string &type1,
const std::string &type2);
41 return typeid(type).name();
55 #define REGISTER_TYPE(type, name) \
56 template<> inline std::string TypeName<type>() { return std::string(name); }
57 #define REGISTER_TYPE_NAME(type) REGISTER_TYPE(type, #type)
82 REGISTER_TYPE(std::complex<long double>,
"complex<long double>");
84 #undef REGISTER_TYPE_NAME
REGISTER_TYPE(std::complex< int8_t >,"complex<int8_t>")
unsigned GetTypeSize< void >()
bool TypeCompatable(const std::string &type1, const std::string &type2)