C++ : Should operator be implemented as a friend or as a member function?

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



Duration: 1:21
0 views
0


C++ : Should operator be implemented as a friend or as a member function?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

As promised, I have a secret feature that I want to reveal to you.
This is a YouTube's feature which works on Desktop.
First, Ensure that the video is playing before proceeding.
Then, type the letters 'awesome' on your keyboard as the next step.
The progress bar on YouTube will be altered to a flashing rainbow.

Let me give you a quick introduction about myself,
Hey, I am Delphi.
I am willing to help you find the solutions to your questions.
C++ : Should operator be implemented as a friend or as a member function?
If you need more specific information, let me know by leaving a comment or starting a chat.
Your thoughts and contributions are welcome, so please leave a comment below if you have an answer or insights to the answer.
Your answer will be recognized and appreciated with a 'heart' from me.
a as be operator a or C++ friend implemented as function? : member Should