C++ member functions can be qualified in a number of ways - classic CV
(const and volatile) qualifiers, and since C++11, lvalue (&) and rvalue
(&&) reference qualifiers. Details here:
https://en.cppreference.com/w/cpp/language/member_functions
A note on 5.10, page 127 says:
"C++ const-volatile qu
According to https://en.cppreference.com/w/cpp/language/function the
cv-qualifier is allowed only on non-static member functions, which are exactly
the ones that have an implicit this-pointer parameter.
cv
-
const/volatile qualification, only allowed in non-static member function
declarations
Ar
On Tue, Oct 5, 2021 at 1:13 PM wrote:
> According to https://en.cppreference.com/w/cpp/language/function the
> cv-qualifier is allowed only on non-static member functions, which are
> exactly the ones that have an implicit this-pointer parameter.
>
> *cv*
>
> -
>
> const/volatile qualification, o