Topic: Is "class T::M" legal?


Author: ross@utopia.druid.com (Ross Ridge)
Date: Thu, 9 Sep 1993 19:02:20 GMT
Raw View
ross@utopia.druid.com (Ross Ridge) writes:
> Is this true?  I only have a copy of The C++ Programming Language,
> 2nd ed., but as near as I can tell the grammar summary there
> doesn't allow a "qualified-type-name" to appear after a 'class'
> keyword in any context.

ark@alice.UUCP () writes:
>That's why I said `really new' instead of `new.'
>
>Yes it might well be a grammar change, but it should be obvious to most
>what it means.

It was obvious enough to me that I used syntax like this, in a
different context, in a programme I'm working on.  The compiler I
was using also thought it was obvious enough and compiled with
no problems.  Unfortunately when I tried compiling it with another
compiler and it didn't work, I discovered that I was using non-standard
syntax.  Is this something that will likely be standardized?

      Ross Ridge