meaning of "const" before function type
hello!
Please, does someone have a good link to where this construction can be used and whta for? many thanks!!!
|
const int& get() {return x;} // member function returning a const&
|
Topic archived. No new replies allowed.