Is it possible to specialize a inner class declared within a template class? More or less like the following example (which doesn’t work):
template<unsigned N>
class Outer {
struct Inner {
typedef int Value;
};
typedef typename Inner::Value Value;
};
template<>
struct Outer<0>::Inner {
typedef float Value;
};
Best solution I found is to move
Inneroutside.