C++ : Is it alright to return a reference to a non-pointer member variable as a pointer?

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



Duration: 1:05
0 views
0


C++ : Is it alright to return a reference to a non-pointer member variable as a pointer?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

As promised, I have a hidden feature that I want to share with you.
This is a YouTube's feature which works on Desktop.
First, Make sure this video is playing.
After that, type the word 'awesome' on your keyboard.
It will change your youtube progress bar into a flashing rainbow.

An introduction to myself in a few words,
Hello everyone, I'm Delphi.
Allow me to support you in answering your questions.
C++ : Is it alright to return a reference to a non-pointer member variable as a pointer?
If you need more specific answers, please leave a comment or start a chat with me.
If you have knowledge to contribute or an answer to provide, we encourage you to comment below.
Your answer will be recognized and appreciated with a 'heart' from me.
C++ return alright to non-pointer Is it a a member a to pointer? : reference as variable