Created on 1998-07-15.00:00:00 last changed 321 months ago
Does Koenig lookup create a point of instantiation for class types? I.e., if I say:
TT<int> *p; f(p);The namespaces and classes associated with p are those associated with the type pointed to, i.e., TT<int>. However, to determine those I need to know TT<int> bases and its friends, which requires instantiation.
Or should this be special cased for templates?
Rationale: The standard already specifies that this creates a point of instantiation.
History | |||
---|---|---|---|
Date | User | Action | Args |
1998-07-15 00:00:00 | admin | create |