...
Marking the function call operator as const
is beneficial, but insufficient, because data members with the mutable
storage class specifier may still be modified within a const
member function.
...
[ISO/IEC 14882-2014] | Subclause 25.1, "General" |
[Meyers 012001] | Item 39, "Make Predicates Pure Functions" |
...