Language Lawyer
unread,Mar 12, 2019, 11:04:08 AM3/12/19Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to std-dis...@isocpp.org
[class.member.lookup]/3 defines the lookup set as follows:
> The lookup set for f in C, called S(f,C), consists of two component sets: the declaration set, a set of members named f; and the subobject set, a set of subobjects where declarations of these members (possibly including using-declarations) were found.
[class.member.lookup]/5 says:
> If C has base classes, calculate the lookup set for f in each direct base class subobject B_i
etc.
Having *subobjects* used in context of name lookup is very strange.