C
Christof Warlich
Hi,
can anyone tell how to convince the compiler to accept the third
line in the example below? I need this parameter sequence because
I want to define a default argument for T , e.g.:
template<X<T> *x, typename T = int> struct Y2{};
template<typename T> struct X {};
template<typename T, X<T> *x> struct Y1{};
template<X<T> *x, typename T> struct Y2{};
Thanks for any help,
Christof
can anyone tell how to convince the compiler to accept the third
line in the example below? I need this parameter sequence because
I want to define a default argument for T , e.g.:
template<X<T> *x, typename T = int> struct Y2{};
template<typename T> struct X {};
template<typename T, X<T> *x> struct Y1{};
template<X<T> *x, typename T> struct Y2{};
Thanks for any help,
Christof