I want to be able to refer to different types using literals as ids.
template<auto>
using type = void;
template<>
using type<0> = int;
template<>
using type<1> = char;
template<>
using type<2> = string;
int main()
{
type<0> var0;
type<1> var1;
type<2> var2;
}
This results in the compiler giving me errors, since type alias specialization is not yet supported in C++. (The technology required to implement such a feature simply does not exist)