This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 112e. See for the official list.


1133. Keywords vs attributes for control of hiding and overriding

Section: _N3225_.7.6.5  [dcl.attr.override]     Status: C++11     Submitter: US     Date: 2010-08-02

[Voted into the WP at the November, 2010 meeting in paper N3206.]

N3092 comment US 44

The facility for checking hiding and overriding of base class members should not use the attribute syntax but should use keywords instead. Concerns about breaking code by changing current identifiers into keywords can be addressed by using contextual keywords, i.e., by putting the keywords into syntactic locations where identifiers cannot appear and thus continuing to allow their use as ordinary identifiers in other contexts.

Notes from the August, 2010 meeting:

CWG expressed a preference for non-contextual keywords for these features.