Closed
Description
The first sentence of the cited paragraph (which was merged verbatim from P1787R6 "Declarations and where to find them") is:
A name that appears in a declaration
of a template is looked up from where it appears in an unspecified declaration of that is or is reachable from and from which no other declaration of that contains the usage of the name is reachable.
Is "A declaration of
Metadata
Metadata
Assignees
Labels
No labels
Activity
CaseyCarter commentedon Jan 7, 2022
@opensdh, any thoughts (or prayers)?
opensdh commentedon Jan 7, 2022
It means "that is D or is reachable from D".
xmh0511 commentedon Jan 7, 2022
@CaseyCarter @opensdh At the first glance of this sentence, it's hard to read. Fortunately, [temp.over.link.example] p3 has great help to understand the meaning.
CaseyCarter commentedon Jan 7, 2022
Would anyone object to changing this sentence to:
A name that appears in a declaration $D$ of a template $T$ is looked up from where it appears in an unspecified declaration of $T$ that is +either $D$ itself or is reachable from $D$ and from which no other declaration of $T$ that contains the usage of the name is reachable.
which I think preserves the intended meaning but would have been easier for me to decode?
opensdh commentedon Jan 7, 2022
(Other than that, no.)
jensmaurer commentedon Jan 7, 2022
What about women?
opensdh commentedon Jan 7, 2022
The received wisdom addresses only the adult male case. I suspect women are also capable of eating and catching fish, but since I was stretching the saying already by applying it to reading, I didn't want to press my luck by assuming.