forked from mirror/libcxx
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
354589c472
We already have a specialization that will use memcpy for construction of trivial types from an iterator range like std::vector<int>(int *, int *); But if we have const-ness mismatch like std::vector<int>(const int *, const int *); we would use a slow path that copies each element individually. This change enables the optimal specialization for const-ness mismatch. Fixes PR37574. Contributions to the patch are made by Arthur O'Dwyer, Louis Dionne. rdar://problem/40485845 Reviewers: mclow.lists, EricWF, ldionne, scanon Reviewed By: ldionne Subscribers: christof, ldionne, howard.hinnant, cfe-commits Differential Revision: https://reviews.llvm.org/D48342 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@350583 91177308-0d34-0410-b5e6-96231b3b80d8 |
6 years ago | |
---|---|---|
.. | ||
assign_copy.pass.cpp | 9 years ago | |
assign_initializer_list.pass.cpp | 8 years ago | |
assign_iter_iter.pass.cpp | 7 years ago | |
assign_move.pass.cpp | 8 years ago | |
assign_size_value.pass.cpp | 9 years ago | |
construct_default.pass.cpp | 7 years ago | |
construct_iter_iter.pass.cpp | 6 years ago | |
construct_iter_iter_alloc.pass.cpp | 6 years ago | |
construct_size.pass.cpp | 8 years ago | |
construct_size_value.pass.cpp | 8 years ago | |
construct_size_value_alloc.pass.cpp | 9 years ago | |
copy.pass.cpp | 8 years ago | |
copy_alloc.pass.cpp | 8 years ago | |
deduct.fail.cpp | 7 years ago | |
deduct.pass.cpp | 7 years ago | |
default.recursive.pass.cpp | 10 years ago | |
default_noexcept.pass.cpp | 6 years ago | |
dtor_noexcept.pass.cpp | 8 years ago | |
initializer_list.pass.cpp | 8 years ago | |
initializer_list_alloc.pass.cpp | 8 years ago | |
move.pass.cpp | 6 years ago | |
move_alloc.pass.cpp | 8 years ago | |
move_assign_noexcept.pass.cpp | 9 years ago | |
move_noexcept.pass.cpp | 9 years ago | |
op_equal_initializer_list.pass.cpp | 8 years ago |