# t00049 - Test case configurable type aliases ## Config ```yaml compilation_database_dir: .. output_directory: puml diagrams: t00049_class: type: class using_namespace: clanguml::t00049 type_aliases: "std::basic_string": thestring "std::string": thestring "std::vector": string_vector "std::vector": string_vector "std::map": intmap glob: - ../../tests/t00049/t00049.cc include: namespaces: - clanguml::t00049 ``` ## Source code File t00049.cc ```cpp #include #include #include namespace clanguml { namespace t00049 { template struct A { T a; T &get_a() { return a; } }; struct R { A> a_string; A> a_vector_string; A> a_int_map; A> get_int_map() { return a_int_map; } void set_int_map(A> &&int_map) { a_int_map = int_map; } }; } // namespace t00049 } // namespace clanguml ``` ## Generated UML diagrams ![t00049_class](./t00049_class.svg "Test case configurable type aliases")