C++ : const change without const_cast Why no compiler warning/error?

Channel:
Subscribers:
76,400
Published on ● Video Link: https://www.youtube.com/watch?v=5bIeUr1Omm8



Duration: 1:11
1 views
0


C++ : const change without const_cast Why no compiler warning/error?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

So here is a secret hidden feature I promissed to tell you.
This is a YouTube's feature which works on Desktop.
First, Ensure that the video is playing before proceeding.
Next, enter the letters 'awesome' on your keyboard.
Your YouTube progress bar will transform into a flashing rainbow.

Let me give you a brief introduction of who I am,
Hello, I am Delphi.
I am here to provide you with assistance in answering your questions.
C++ : const change without const_cast Why no compiler warning/error?
Please feel free to comment or chat with me for more detailed information.
Please feel free to share your answer or insights on the answer by leaving a comment below.
Your answer will be acknowledged and appreciated, and I will 'heart' it as a sign of gratitude.
change compiler : warning/error? without Why const_cast const C++ no