Added constrained template parameter names in requires relationship

This commit is contained in:
Bartek Kryza
2023-02-25 19:35:18 +01:00
parent 274a698713
commit 1fc0bf3f80
7 changed files with 139 additions and 43 deletions

View File

@@ -107,10 +107,10 @@ void generator::generate_alias(const concept_ &c, std::ostream &ostr) const
print_debug(c, ostr);
if (m_config.generate_packages())
ostr << "annotation"
ostr << "class"
<< " \"" << c.name();
else
ostr << "annotation"
ostr << "class"
<< " \"" << render_name(c.full_name());
ostr << "\" as " << c.alias() << '\n';
@@ -300,7 +300,7 @@ void generator::generate(const concept_ &c, std::ostream &ostr) const
{
namespace plantuml_common = clanguml::common::generators::plantuml;
std::string class_type{"annotation"};
std::string class_type{"class"};
ostr << class_type << " " << c.alias() << " <<concept>>";