Mutable keyword in C++
Mutable data members are those whose values can be changed in runtime even if the object’s type is constant. It is the polar opposite of constant. It is sometimes necessary to modify one or more data members of a class or struct using a const function, even if you do not want the function to […]
October 16, 2022 | C++ | No comments