Syntax for specialization of nested template class
I'm trying to figure out the correct syntax for explicit specialization of a nested template class. The following code will better illustrate: struct Column_Major; struct Row_Major; template<size_t rows, size_t cols, typename T, typename Allocator> class Matrix { /* bunch of members */ template <typename storage = Column_Major> class Iterator { /* bunch of members */ }; }; I'd like to write an explicit specialization for template <> class Matrix<...>::Iterator<Row_Major , but the syntax is eluding me. I have a suspicion that it is not possible to explicitly specialize the Iterator class