Files
clang-uml/tests/t00014/t00014.cc
2021-03-21 18:36:51 +01:00

30 lines
519 B
C++

#include <algorithm>
#include <ios>
#include <map>
#include <numeric>
#include <string>
#include <type_traits>
#include <variant>
namespace clanguml {
namespace t00014 {
template <typename T, typename P> struct A {
T t;
P p;
};
template <typename T> using AString = A<T, std::string>;
using AIntString = AString<int>;
using AStringString = AString<std::string>;
class R {
A<bool, std::string> boolstring;
AString<float> floatstring;
AIntString intstring;
AStringString stringstring;
};
}
}