The other thing I was mentioning in the meeting was std::vector::emplace_back
. It combines push_back
and construction and is the way to add new members to a vector.
The other thing I was mentioning in the meeting was std::vector::emplace_back
. It combines push_back
and construction and is the way to add new members to a vector.