Question: Lets say I have initialized pair < shared_ptr , shared_ptr > temp; And I have to write a function called pair CloseAndFar(const vector & fleet)
Lets say I have initialized
pair < shared_ptr
And I have to write a function called
pair
// CODE
}
In this function, I have to modify temp and return the temp but I have no idea how to modify temp.
Help please.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
