overloading members on constness Problem1.The overloads of get would render one ambiguous, and so it is impossible. The overload must differ...
overloading members on constness ProblemI didn't use "[b]const int& get() const {return x;}[/b]" which returns const . I used "[b]int &get()...
Pointers to classes questionThank you for the answer Could you check also this topic for an answer,please? http://www.cplusplus...
Pointers to classes questionFirst: I don't understand Example4() : ptr(new string) {} Example4 (const string& str) : ...
reference operator why it is necessary to use the reference operator here ? const string& content() const {retur...
This user does not accept Private Messages