J
Johannes Schaub (litb)
I just figured that it's forbidden to "typedef auto foo_type;".
Can you think of any use-case for it? I imagine a C++0x program could
typedef "auto" to a different name in C++0x mode, and use a type-erasure
class in C++03 mode for storing some expression of an unknown type localy.
Can you think of any use-case for it? I imagine a C++0x program could
typedef "auto" to a different name in C++0x mode, and use a type-erasure
class in C++03 mode for storing some expression of an unknown type localy.