After a lot of investigations with valgrind, I\'ve made the conclusion that std::vector makes a copy of an object you want to push_back.
Is that really true ? A vect
Relevant in C++11 is the emplace family of member functions, which allow you to transfer ownership of objects by moving them into containers.
The idiom of usage would look like
std::vector
The move for the lvalue object is important as otherwise it would be forwarded as a reference or const reference and the move constructor would not be called.