Conventional template structures can be specialized, for example,
template<typename T> struct X{}; template<> struct X<int>{};
C ++ 11 gave us a new cool using syntax for expressing typedefs templates:
template<typename T> using YetAnotherVector = std::vector<T>
Is there a way to define template specialization for them using constructs similar to those for structure templates? I tried the following:
template<> using YetAnotherVector<int> = AFancyIntVector;
but it gave a compilation error. Is it possible somehow?
source share