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
A cv-qualified member function can be called on an object-expression only if the object-expression is as cv-qualified or less-cv-qualified than the member function.
There is a partial ordering on cv-qualifiers, so that a type can be said to be more cv-qualified than another. Table 11 shows the relations that constitute this ordering.
If a function type can't be cv-qualified, how could one compare whether a non-stastic member function (type(?)) more or less cv-qualified than an object-expression (type(?))?
The text was updated successfully, but these errors were encountered:
The Note in [dcl.fct]/7 says:
[class.this]/3 says:
I assume «as cv-qualified or less-cv-qualified» means «not more cv-qualified», as defined in [basic.type.qualifier]/4:
If a function type can't be cv-qualified, how could one compare whether a non-stastic member function (type(?)) more or less cv-qualified than an object-expression (type(?))?
The text was updated successfully, but these errors were encountered: