![]() Summary: Currently libc++ implements some operations on valarray by using the resize method. This method has a parameter with a default value. Because of this, valarray may spuriously construct and destruct objects of valarray's element type. This patch fixes this issue and adds corresponding test cases. Reviewers: EricWF, mclow.lists Reviewed By: mclow.lists Subscribers: rogfer01, cfe-commits Differential Revision: https://reviews.llvm.org/D41992 llvm-svn: 324596 |
||
---|---|---|
.. | ||
copy.pass.cpp | ||
default.pass.cpp | ||
gslice_array.pass.cpp | ||
indirect_array.pass.cpp | ||
initializer_list.pass.cpp | ||
mask_array.pass.cpp | ||
move.pass.cpp | ||
pointer_size.pass.cpp | ||
size.pass.cpp | ||
slice_array.pass.cpp | ||
value_size.pass.cpp |