introspection: add test for template-template-type reflection
This commit is contained in:
parent
ec1f354d16
commit
f34d5ce278
@ -100,6 +100,12 @@ int main ()
|
|||||||
"templated_with_type"
|
"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 (
|
tap.expect_eq (
|
||||||
cruft::type_name<templated_with_value<-1>> (),
|
cruft::type_name<templated_with_value<-1>> (),
|
||||||
std::string_view {"templated_with_value<-1>"},
|
std::string_view {"templated_with_value<-1>"},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user