×

Loading...

look at this you'll understand what X takes. it actually can take anything.

template<class T>
class X
{
public:
T a;
};

template<template<typename U> class T1, class T2>
class Y
{
public:
T1<float> b;

};
X<int> x;
Y<X, int> aY;

int main()
{

return 0;
}
Report