C++ : Double standard? Why only a warning for char* const& a = "bla"?

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



Duration: 1:11
0 views
0


C++ : Double standard? Why only a warning for char* const& a = "bla"?
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 the video is currently in playing mode.
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 brief description of who I am,
Howdy, my name's Delphi.
Let me help you with your questions.
C++ : Double standard? Why only a warning for char* const& a = "bla"?
Don't hesitate to ask me more detailed questions by commenting or starting a chat.
Don't hesitate to provide your answer or insights by leaving a comment below.
I will 'heart' your answer to show my gratitude for your contribution.
Double warning for : C++ char* = "bla"? Why const& standard? only a a




Other Videos By Hey Delphi


2023-04-20Array : How can I initialize char arrays in a constructor?
2023-04-20Array : Why are generics erased in arrays in Java?
2023-04-20NodeJS : can setInterval drift over time?
2023-04-20Array : How do I use multiple arguments from an array to construct an execl() call in C?
2023-04-20PYTHON : How to terminate loop gracefully when CTRL+C was pressed in python
2023-04-20C++ : Why private destructor in a Singleton class?
2023-04-20C++ : Are conditional typedef's possible in C++?
2023-04-20PYTHON : what shebang to use for python scripts run under a pyenv virtualenv
2023-04-20PYTHON : What is the right way to put a docstring on Python property?
2023-04-20C++ : Why does gcc allow a const object without a user-declared default constructor but not clang?
2023-04-20C++ : Double standard? Why only a warning for char* const& a = "bla"?
2023-04-20NodeJS : How to downgrade Node version
2023-04-20R : How to do a wordcount on every row of a CSV file?
2023-04-20C# : How can I pass a SSL certificate to Nowin when using Nancy
2023-04-20C++ : How to check if a C++ header file is correct with gcc tools?
2023-04-20Django : How do I restrict access to admin pages in Django?
2023-04-20NodeJS : How to stub https.request response.pipe with sinon.js?
2023-04-20C++ : how to move elements of an initializer_list?
2023-04-20SQL : How to do double comparison on a table
2023-04-20C++ : how to specialize template function to let it accept passing a char array as argument?
2023-04-20C++ : How to prohibit the construction of object?