Why volatilecan't an object call a member function not volatile?
In the case, constit makes sense that calling a member function does not constviolate the constant of the object and, therefore, is prohibited. But why in the case volatile?
source
share