what's the different between a const version and mutable version member function
- by Yongwei Xing
Hi all
I am very confused about the const version and mutable version member function like below::
value_type& top() { return this.item }
const value_type& top() const { return this.item }
What is the different these two functions? In what situation they would be used? Could someone give me some explanation about it?
Best Regards,