I have following template:
template<typename FirstParam>
struct First
{
template<typename SecondParam>
struct Second;
};
Example specialization:
template<typename T> class D {};
template<>
template<>
struct First<C1>::Second<C1::C2>
{
typedef D<C1::C2> type;
};
This is case when both classes are specialized at the same time. But is there possible to specialize only second class?
Something like:
template<typename OuterParam>
template<>
struct Outer<OuterParam>::Inner<typename OuterParam::C2>
{
typedef E<typename OuterParam::C2> type;
};
(Yes, I also need second param to be inner class of the first.)