[Solved] Differences with const keyword in C++
[ad_1] Here’s the most const example: class Foo { const int * const get() const {return 0;} \_______/ \___/ \___/ | | ^-this means that the function can be called on a const object | ^-this means that the pointer that is returned is const itself ^-this means that the pointer returned points to a … Read more