Could C++ standards gurus please enlighten me:
Since which C++ standard version has this statement failed because (v)
seems to be equivalent to (*&
register
is no longer a storage class specifier, you should remove it. Compilers may not be issuing the right error or warnings but your code should not have register
to begin with
The following is a quote from the standard informing people about what they should do with regards to register
in their code (relevant part emphasized), you probably have an old version of that file
C.1.6 Clause 10: declarations [diff.dcl]
Change: In C++, register is not a storage class specifier.
Rationale: The storage class specifier had no effect in C++. Effect on original feature: Deletion of semantically well-defined feature.
Difficulty of converting: Syntactic transformation.
How widely used: Common.