C++ : Why doesn't C++ cast to const when a const method is public and the non-const one is protected

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



Duration: 1:31
0 views
0


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




Other Videos By Hey Delphi


2023-04-20Django : How to make a new line in django messages.error
2023-04-20SQL : How to calculate bandwidth by SQL query
2023-04-20SQL : How to set group_concat_max_len with MySQL and Hibernate
2023-04-20Windows : How to see if a subfile of a directory has changed
2023-04-20SQL : Is this a correct way to allow wildcard search for a user?
2023-04-20C++ : Why does brace initialization assignment fill variables with garbage?
2023-04-20PHP : How do you make a string in PHP with a backslash in it?
2023-04-20Windows : How to wait all batch files to finish before exiting?
2023-04-20C# : What is the meaning of XML tags "see "and "seealso" in C# in Visual Studio 2010?
2023-04-20Android : How do I set a color filter on a drawable which will be used in a RemoteView?
2023-04-20C++ : Why doesn't C++ cast to const when a const method is public and the non-const one is protected
2023-04-20CSS : How to simulate :active css pseudo class in android on non-link elements?
2023-04-20C# : How to disable camel casing Elasticsearch field names in NEST?
2023-04-20C# : How to exclude specific exception types from Serilog?
2023-04-20jQuery : How can I convert a DOM element to a jQuery element?
2023-04-20HTML : How to prevent XSS (Cross Site Scripting) whilst allowing HTML input
2023-04-20CSS : When zooming on Chrome, image sprite becomes misaligned
2023-04-20Windows : How to make Oracle SQL Developer show an application icon?
2023-04-20jQuery : How to override css containing '!important' using jquery?
2023-04-20Android : How to move specific item in array list to the first item
2023-04-20Array : How to add, multiply n numbers to a given range in array and also reverse the range in the a