So i propose to make the above mentioned methods non-const this invalidates the problem compilation with the following attached sample.
So, I propose to make the above mentioned methods non-const. This resolves the problem of compilation with the attached sample.