Extended t00044 with JSON checks

This commit is contained in:
Bartek Kryza
2023-04-05 23:28:51 +02:00
parent ade1f76640
commit 69a94bcc43
3 changed files with 19 additions and 13 deletions

View File

@@ -74,7 +74,7 @@ std::string class_::full_name_no_ns() const
ostr << name();
render_template_params(ostr, using_namespace(), false);
render_template_params(ostr, using_namespace(), true);
return ostr.str();
}
@@ -115,9 +115,7 @@ int class_::calculate_template_specialization_match(const class_ &other) const
{
int res{0};
const std::string left = name_and_ns();
// TODO: handle variadic templates
if (left != other.name_and_ns()) {
if (name_and_ns() != other.name_and_ns()) {
return res;
}