Skip to content
Snippets Groups Projects
Commit e98edc20 authored by Marc Glisse's avatar Marc Glisse Committed by Marc Glisse
Browse files

optimize std::vector move assignment

2018-07-26  Marc Glisse  <marc.glisse@inria.fr>

	* include/bits/stl_vector.h (_Vector_impl_data::_M_copy_data): New.
	(_Vector_impl_data::_M_swap_data): Use _M_copy_data.
	(vector::_M_move_assign): Reorder the swaps.

From-SVN: r262998
parent 88a4654d
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment