C++ : In c++11, does returning a std::string in a function move or copy it?

Channel:
Subscribers:
76,600
Published on ● Video Link: https://www.youtube.com/watch?v=U5XgsM5-1RQ



Duration: 1:28
0 views
0


C++ : In c++11, does returning a std::string in a function move or copy it?
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, Ensure that the video is playing before proceeding.
Next, enter the letters 'awesome' on your keyboard.
The progress bar on YouTube will be altered to a flashing rainbow.

An introduction to myself in a few words,
Hey, I am Delphi.
Let me help you get the answers you need to your questions.
C++ : In c++11, does returning a std::string in a function move or copy it?
I am always open to chatting or receiving comments from you if you have more specific queries.
If you have an answer, or any insights to the answer, please comment below.
Your answer will be recognized and valued, and I will 'heart' it to show my appreciation.
does function In std::string or c++11, a a returning in C++ copy it? : move