You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://eel.is/c++draft/basic.def.odr#3.3 mentions that the set of potential results of the form $E_1.\textcolor{cyan}{\textrm{template}}_{opt} E_2$ corresponds to $E_1$, the class instance being accessed, but that's untrue, the potential results correspond to $E_2$, the NSDM being accessed, hence change its wording to the following:
if $\textit{E}$ is a class member access expression ([expr.ref]) of the form $E_1$ . $\textcolor{cyan}{\textrm{template}}_{opt}$$E_2$ naming a non-static data member, the set contains the potential results of $E_2$.
The text was updated successfully, but these errors were encountered:
Potential results of an expression E are certain id-expressions appearing in E whose values are required to be inlined when computing E, thus those id-expressions don't odr-use the variables they denote. In a non-static class member access expression, it is the left operand that would be odr-used if not inlined. The right operand merely identifies a particular subobject, which is irrelevant because subobjects can't be odr-used individually.
https://eel.is/c++draft/basic.def.odr#3.3 mentions that the set of potential results of the form$E_1.\textcolor{cyan}{\textrm{template}}_{opt} E_2$ corresponds to $E_1$ , the class instance being accessed, but that's untrue, the potential results correspond to $E_2$ , the NSDM being accessed, hence change its wording to the following:
The text was updated successfully, but these errors were encountered: