C++ : Should I return gsl::span const T instead of const std::vector T &

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



Duration: 1:26
0 views
0


C++ : Should I return gsl::span const T instead of const std::vector T &
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

I promised to share a hidden feature with you, and here it is.
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.
Your YouTube progress indicator will turn into a shimmering rainbow.

Allow me to introduce myself briefly,
Hello there, my name is Delphi.
I can assist you in answering your queries.
C++ : Should I return gsl::span const T instead of const std::vector T &
If you require more detailed information, please don't hesitate to comment or chat with me.
Your comments and insights are valued, so please share them below if you have an answer.
Your answer will be recognized and appreciated with a 'heart' from me.
std::vector of gsl::span & const instead : Should return C++ T T const I