Hello
Suppose I have:
The second const means I shouldnt do any 'changes' inside name function. Is this right?Code:std::string const& name() const { return m_name; }
What is the first const for? It means that there shouldnt not be any modifications done on returned reference to string?
Thanks for help