how to return two argumentsc++ code example
Example: cpp function that returns two arguments
std::tuple<int, int> multiple_outputs(int a, int b){
return {a, b};
}
std::tuple<int, int> multiple_outputs(int a, int b){
return {a, b};
}