c++ pointer function as const member code example
Example: const pointer c++
int *p; // pointer to int
const int *p == int const *p; // pointer to const int
int * const p; // const pointer to int
const int * const p == int const * const p; // const pointer to const int