Template alias question

I would like to make an alias for a template, i.e., I have a template A<T>, and I want to refer to it later as B<T>. The following was my best guess, but Visual Studio 2012 pro says, "error C2988: unrecognizable template declaration/definition".

1
2
3
4
5
template <class T> class A
{
};

template <typename T> using B = A<T>;


So, is this a problem with my code or my compiler? Is there another obvious way to do this?
The code is valid - MSVS is notorious for having poor support of C++. If you can't use another compiler, you'll have to work around it by wrapping the alias in a template class.
> but Visual Studio 2012 pro says

Use a more current version of the microsoft compiler. http://rextester.com/SWQX2643
Topic archived. No new replies allowed.