Created on 2015-01-13.00:00:00 last changed 95 months ago
Proposed resolution (September, 2015):
Change 6.5.5.2 [class.qual] bullet 1.1 as follows:
a destructor name is looked up
the lookup for a destructor is as specified in 6.5.5 [basic.lookup.qual];
Change 11.4.7 [class.dtor] paragraph 13 as follows:
In an explicit destructor call, the destructorname appears asis specified by a ~ followed by a type-name or decltype-specifier that denotes the destructor's class type. The invocation...
[Adopted at the February, 2016 meeting.]
According to 9.9 [namespace.udecl] paragraph 4,
[Note: Since destructors do not have names, a using-declaration cannot refer to a destructor for a base class....
However, 11.4.7 [class.dtor] paragraph 13 says,
In an explicit destructor call, the destructor name appears as a ~ followed by a type-name or decltype-specifier that denotes the destructor's class type...
See also 6.5.5.2 [class.qual] bullet 1.1:
a destructor name is looked up as specified in 6.5.5 [basic.lookup.qual];
History | |||
---|---|---|---|
Date | User | Action | Args |
2017-02-06 00:00:00 | admin | set | status: tentatively ready -> cd4 |
2015-11-10 00:00:00 | admin | set | messages: + msg5606 |
2015-11-10 00:00:00 | admin | set | status: drafting -> tentatively ready |
2015-01-13 00:00:00 | admin | create |