[all-commits] [llvm/llvm-project] 37f466: [libc++] Make sure that vector copy-construction i...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Tue Feb 11 08:12:26 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 37f46650c3866c06c6108740fd15a34ebcb6a404
https://github.com/llvm/llvm-project/commit/37f46650c3866c06c6108740fd15a34ebcb6a404
Author: Louis Dionne <ldionne at apple.com>
Date: 2020-02-11 (Tue, 11 Feb 2020)
Changed paths:
M libcxx/include/memory
A libcxx/test/std/containers/sequences/vector/vector.cons/copy.move_only.fail.cpp
Log Message:
-----------
[libc++] Make sure that vector copy-construction is disabled for non-copyable types
The Standard requires the value_type of the vector to be Cpp17CopyInsertable
in order for copy-construction to be enabled:
http://eel.is/c++draft/container.requirements#tab:container.req
rdar://problem/56674564
Differential Revision: https://reviews.llvm.org/D74251
More information about the All-commits
mailing list