Why can't a const pointer to a const pointer to a const object be dereferenced to call a member function in the const object?

前端 未结 0 544
一向
一向 2020-12-12 08:20

I have a pointer to a pointer to an object that will not be mutated, so I thought making the whole chain const would help prevent me from accidentally making changes the the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题