Title
Do friend declarations count as “previous declarations”?
Status
cd6
Section
9.3.4 [dcl.meaning]
Submitter
Hubert Tong

Created on 2014-03-25.00:00:00 last changed 27 months ago

Messages

Date: 2020-11-15.00:00:00

[Accepted at the November, 2020 meeting as part of paper P1787R6 and moved to DR at the February, 2021 meeting.]

Issue 1477 assumes that a name declared only in a friend declaration can be defined outside its namespace using a qualified-id, but the normative passages in 9.3.4 [dcl.meaning] paragraph 1 and _N4868_.9.8.2.3 [namespace.memdef] paragraph 2 do not settle the question definitively, and there is implementation variance. A clearer statement of intent is needed.

History
Date User Action Args
2022-08-19 07:54:33adminsetstatus: drwp -> cd6
2021-02-24 00:00:00adminsetstatus: accepted -> drwp
2020-12-15 00:00:00adminsetstatus: drafting -> accepted
2014-07-07 00:00:00adminsetstatus: open -> drafting
2014-03-25 00:00:00admincreate