cmake/Tests/CompileFeatures/cxx_alias_templates.cpp

12 lines
157 B
C++
Raw Normal View History

2015-04-27 22:25:09 +02:00
template <typename T1, typename T2>
struct A
{
typedef T1 MyT1;
using MyT2 = T2;
};
using B = A<int, char>;
2016-07-09 11:21:54 +02:00
template <typename T>
2015-04-27 22:25:09 +02:00
using C = A<int, T>;