This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Make sure that vector copy-construction is disabled for non-copyable types
ClosedPublic

Authored by ldionne on Feb 7 2020, 12:29 PM.

Diff Detail

Event Timeline

ldionne created this revision.Feb 7 2020, 12:29 PM
ldionne accepted this revision.Feb 11 2020, 8:10 AM
ldionne marked an inline comment as done.
ldionne added inline comments.
libcxx/test/std/containers/sequences/vector/vector.cons/copy.move_only.fail.cpp
27

Note that previously, this test case would fail (i.e. we could copy a vector containing a move only type).

This revision is now accepted and ready to land.Feb 11 2020, 8:10 AM
This revision was automatically updated to reflect the committed changes.