Closed gerald-brandt closed 3 years ago
Is there any way to pass a std::vector back to the caller, or some other type of array?
Hi gerald!
I added an example on how to use std::vector as return type. Basically, you just use it as a return type on the method, there is nothing special required.
Is there any way to pass a std::vector back to the caller, or some other type of array?