I can combine type alias with class definition like this:
using XX = struct AA { };
But how can I combine type alias with the definition of a full specialization?
template < typename... > struct BB;
using YY = template <> struct BB<int> { }; // error: expected type-specifier before ‘template’
Is there a nice workaround that would allow to escape a separate line using YY = BB<int>;
after the definition of BB<int>
?