Consider the 2 snippets:
using x = int*;
int main () {
const x a = new int(3);
*a = 5;
}
and
int main () {
const int* a = new int(3);
*a = 5;
}
The first compiles, while the second doesn't
--> using
is not equivalent to simply "plugging in" the type and then parse the line.
Are there more differences between using using
and "inlining" the type directly?