Say I have two vectors:
std::vector<std::unique_ptr<SomeObject>> some_vector
and
std::vector<std::unique_ptr<SomeObject>> filtered_vector
If I need to very frequently move elements between these two vectors, how can I do so without making any copies?
I know move semantics is a possible option, and I'm going in this direction but I just wanted to see what the best way of achieving this would be.