C++ : Why doesn't C++ cast to const when a const method is public and the non-const one is protected
C++ : Why doesn't C++ cast to const when a const method is public and the non-const one is protected?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"
I promised to reveal a secret feature to you, and now it's time to share it.
This is a YouTube's feature which works on Desktop.
First, Make sure this video is playing.
Then, type the letters 'awesome' on your keyboard as the next step.
The progress bar on YouTube will be altered to a flashing rainbow.
Here's a short introduction about myself,
Hi there, I go by the name of Delphi.
I am here to provide you with assistance in answering your questions.
C++ : Why doesn't C++ cast to const when a const method is public and the non-const one is protected?
If you require more detailed information, please don't hesitate to comment or chat with me.
If you have an answer, or any insights to the answer, please comment below.
A 'heart' from me is a way of showing appreciation for your answer.
const a protected? Why is C++ is public method C++ the doesn't : const non-const when one to cast and