introspection: add test for template-template-type reflection

This commit is contained in:
Danny Robson 2020-02-27 07:05:57 +11:00
parent ec1f354d16
commit f34d5ce278

View File

@ -100,6 +100,12 @@ int main ()
"templated_with_type"
);
tap.expect_eq (
cruft::type_name<templated_with_type<templated_with_type<int>>> (),
std::string_view {"templated_with_type<templated_with_type<int> >"},
"templated_with_type"
);
tap.expect_eq (
cruft::type_name<templated_with_value<-1>> (),
std::string_view {"templated_with_value<-1>"},