Title
Missing allowance for pseudo-destructors in qualified lookup
Status
open
Section
6.5.5.1 [basic.lookup.qual.general]
Submitter
CWG

Created on 2024-11-08.00:00:00 last changed 1 week ago

Messages

Date: 2024-11-11.15:13:05

Subclause 6.5.5.1 [basic.lookup.qual.general] paragraph 1 does not, but should, allow for pseudo-destructors.

Possible resolution:

Change in 6.5.5.1 [basic.lookup.qual.general] paragraph 1 as follows:

Lookup of an identifier followed by a :: scope resolution operator considers only namespaces, types, and templates whose specializations are types. If a name, template-id, or computed-type-specifier is followed by a ::, it shall designate a namespace, class, enumeration, or dependent type, or if the :: is followed by ~, a scalar type, and the :: is never interpreted as a complete nested-name-specifier.
History
Date User Action Args
2024-11-08 00:00:00admincreate