Old friend:
typedef int cute_int;
This syntax is perfect. No problems.
Now that we can write typedefs as described above, what is the meaning of this syntax:
int typedef crazy_int;
Just to confuse programmers? Is this syntax even necessary (when in fact we have the previous one)? What do you think, from the point of view of compilers? Do they find it cute or crazy? Or does it not matter at all to compilers?
By the way, this code appeared here: Using the typename keyword with typedef and new
If you are wondering if this is a syntax error, look at the working code here on ideone.
c ++ typedef iso user-defined-types
Nawaz Dec 12 2018-10-12 17:06
source share