How to pass an rvalue std::vector to a function accepting std::span
How to pass an rvalue std::vector to a function accepting std::span
I hope you found a solution that worked for you :)
The Content is licensed under (https://meta.stackexchange.com/help/l...) CC BY-SA.
Attention! This video does always use the same license as the source!
Thanks to all those great people for their contributions!
(stackoverflow.com/users/261217/mikhail)Mikhail
(stackoverflow.com/users/261217/mikhail)Mikhail
(stackoverflow.com/users/1774667/yakk-adam-nevraumont)Yakk - Adam Nevraumont
A special thanks goes out to the (stackoverflow.com/questions/78932834/how-to-pass-an-rvalue-stdvector-to-a-function-accepting-stdspan)Stackexchange community
I wish you all a wonderful day! Stay safe :)
If anything is off, please write me at peter D.O.T schneider A.T ois42.de
dangling-pointer c++23 c++20 std-span c++