Add is_templated() helper
This commit is contained in:
parent
dc290415f1
commit
67f247533c
6 changed files with 26 additions and 4 deletions
|
|
@ -62,6 +62,7 @@ struct b<0, T> {};
|
|||
auto count = test_visit<cpp_class_template>(*file, [&](const cpp_class_template& templ) {
|
||||
auto& c = templ.class_();
|
||||
REQUIRE(!c.is_final());
|
||||
REQUIRE(is_templated(c));
|
||||
|
||||
if (templ.name() == "a")
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue