i would like to make a new vector just for a function and I don't need to use it elsewhere.
render(std::vector<std::string> vect{ "V","A","G","U","E" } )
The function render takes in a vector<string> parameter. Is it possible to initialize this vector inside the function call? Similar to to_string(14), where 14 is not a variable,
In java, the equivalent is render(new int[] {1,2,3,4})
How would I accomplish this in c++?