template< typename T >
struct I{
typedef T type;
};
template< typename T >
struct J{
typedef std::vector< I<T>::type > type;
};
int main()
{
std::vector<I<int>::type> a;
return 0;
}
何が原因なのかさっぱり分からないので、ご教示お願いします。
template< typename T >
struct I{
typedef T type;
};
template< typename T >
struct J{
typedef std::vector< I<T>::type > type;
};
int main()
{
std::vector<I<int>::type> a;
return 0;
}