Fixed unexposed template parameters namespace resolution

This commit is contained in:
Bartek Kryza
2022-03-16 23:49:58 +01:00
parent c0a759c2c4
commit 3a7d22d527
13 changed files with 145 additions and 47 deletions

View File

@@ -41,9 +41,11 @@ std::string enum_::full_name(bool relative) const
std::ostringstream ostr;
if (relative)
ostr << namespace_{name()}.relative_to(using_namespace()).to_string();
ostr << namespace_{name_and_ns()}
.relative_to(using_namespace())
.to_string();
else
ostr << name();
ostr << name_and_ns();
return ostr.str();
}