1 #define BOOST_TEST_MODULE (uniform_type_name_test) 2 #include "boost/test/unit_test.hpp" 13 template <
unsigned int,
typename>
16 template <
unsigned long,
typename>
21 testit(std::type_info
const& tid,
std::string const ref)
27 BOOST_AUTO_TEST_SUITE(uniform_type_name_test)
31 testit(
typeid(std::vector<std::string>),
"std::vector<std::string>");
36 testit(
typeid(std::map<std::string, std::string>),
37 "std::map<std::string,std::string>");
42 testit(
typeid(
unsigned long long),
"ULong64_t");
43 testit(
typeid(
long long),
"Long64_t");
45 "MyUIntTemplate_t<3,std::string>");
47 "MyULongTemplate_t<4,std::string>");
50 BOOST_AUTO_TEST_SUITE_END()
std::string uniform_type_name(std::type_info const &tid)