Title
Remove access declarations
Status
c++11
Section
_N3225_.11.3 [class.access.dcl]
Submitter
US

Created on 2010-08-03.00:00:00 last changed 131 months ago

Messages

Date: 2010-11-15.00:00:00

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

Date: 2010-08-15.00:00:00

Proposed resolution (August, 2010):

  1. Delete _N3225_.11.3 [class.access.dcl].

  2. Delete _N3225_.D.3 [depr.access.dcl].

  3. Delete the following production from the grammar in 11.4 [class.mem] paragraph 1:

    • member-declaration:
        ...
        ::opt nested-name-specifier templateopt unqualified-id ;
        ...
  4. Change 11.4 [class.mem] paragraph 1 as follows:
  5. ...Except when used to declare friends (11.4) or to introduce the name of a member of a base class into a derived class (7.3.3, 11.3), member-declarations declare members of the class...
  6. Delete 9.9 [namespace.udecl] paragraph 19:

  7. [Note: use of access-declarations (_N3225_.11.3 [class.access.dcl]) is deprecated; member using-declarations provide a better alternative. —end note]
Date: 2010-08-03.00:00:00
N3092 comment US 56

Access declarations were deprecated in the 1998 standard and have no benefits over using-declarations. They should be removed in C++0x.

History
Date User Action Args
2014-03-03 00:00:00adminsetstatus: fdis -> c++11
2011-04-10 00:00:00adminsetstatus: dr -> fdis
2010-11-29 00:00:00adminsetmessages: + msg3182
2010-11-29 00:00:00adminsetstatus: ready -> dr
2010-08-23 00:00:00adminsetmessages: + msg2791
2010-08-03 00:00:00admincreate