first version of rvalues for std::vector only