CMake/Tests/CompileFeatures/cxx_alias_templates.cpp

12 lines
156 B
C++
Raw Normal View History

2014-04-04 12:50:41 +04:00
template <typename T1, typename T2>
struct A
{
typedef T1 MyT1;
using MyT2 = T2;
};
using B = A<int, char>;
template<typename T>
using C = A<int, T>;