Title
More on global scope :: in nested-name-specifier
Status
cd3
Section
Clause [11] [class]
Submitter
David Blaikie

Created on 2011-10-28.00:00:00 last changed 90 months ago

Messages

Date: 2013-04-15.00:00:00

[Moved to DR at the April, 2013 meeting.]

Date: 2012-02-15.00:00:00

Proposed resolution (February, 2012):

Change the grammar in _N4567_.5.1.1 [expr.prim.general] paragraph 8 as follows:

    qualified-id:
      nested-name-specifier templateopt unqualified-id
      :: identifier
      :: operator-function-id
      :: literal-operator-id
      :: template-id
    nested-name-specifier:
      ::
      ::opt type-name ::
      ::opt namespace-name ::
      decltype-specifier ::
      nested-name-specifier identifier ::
      nested-name-specifier templateopt simple-template-id ::
Date: 2020-12-15.00:00:00

The resolution of issue 355 failed to update the grammar for class-head-name in Clause 11 [class] paragraph 1 and removed the optional :: from class-or-decltype in 11.7 [class.derived] paragraph 1, with the result that it is still not possible to globally-qualify a class name in a class definition, and the ability to globally-qualify a base class name has been lost.

History
Date User Action Args
2014-03-03 00:00:00adminsetstatus: drwp -> cd3
2013-10-14 00:00:00adminsetstatus: dr -> drwp
2013-05-03 00:00:00adminsetmessages: + msg4413
2013-05-03 00:00:00adminsetstatus: ready -> dr
2012-11-03 00:00:00adminsetstatus: review -> ready
2012-02-27 00:00:00adminsetmessages: + msg3758
2012-02-27 00:00:00adminsetstatus: open -> review
2011-10-28 00:00:00admincreate