C++ : Should my function return a pointer to std::vector, or a reference to std::vector?
C++ : Should my function return a pointer to std::vector, or a reference to std::vector?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"
Here's a secret feature that I promised to disclose to you.
This is a YouTube's feature which works on Desktop.
First, Make sure this video is playing.
Next, enter the letters 'awesome' on your keyboard.
Your YouTube progress bar will transform into a flashing rainbow.
A quick introduction about me,
Hi there, I go by the name of Delphi.
I am here to assist you in getting the answers you need.
C++ : Should my function return a pointer to std::vector, or a reference to std::vector?
I welcome your comments and chats if you have more detailed queries.
If you have an answer or any relevant information to share, please comment below.
I will 'heart' your answer as a sign of appreciation.
a or std::vector? std::vector, to to a return function C++ : reference Should my pointer