In each such definition, corresponding names, looked up
according to
[basic.lookup], shall refer to the same entity, after
overload resolution (
[over.match]) and after matching of partial
template specialization (
[temp.over]), except that a name can refer to
- a non-volatile const object with internal or no linkage if the object
- has the same literal type in all definitions of D,
- is initialized with a constant expression,
- is not odr-used in any definition of D, and
- has the same value in all definitions of D,
or - a reference with internal or no linkage
initialized with a constant expression such that
the reference refers to the same entity in all definitions of D.