Enough already with the KDE bug!
Martin von Loewis
martin@mira.isdn.cs.tu-berlin.de
Mon Mar 30 13:41:00 GMT 1998
> Paragraph one of [class.local] says
>
> Declarations in a local class can use only type names,
> static variables, extern variables and functions, and
> enumerators from the enclosing scope.
>
> The name 'i' is none of these.
No, but it isn't from the enclosing scope, either. This is a
restriction on the names from the enclosing scope, not on access to
names in general.
More information about the Gcc-bugs
mailing list