[libc++] Revert "Make `vector` unconditionally move elements when exceptions are...
authorLouis Dionne <ldionne@apple.com>
Thu, 5 Sep 2019 13:50:28 +0000 (13:50 +0000)
committerLouis Dionne <ldionne@apple.com>
Thu, 5 Sep 2019 13:50:28 +0000 (13:50 +0000)
commitb370e7691a680b06f3c159c6a19582adf449de90
tree91b25bb05f37b2524aca773de335ce2e0c8f9662
parentf1b4eba66fb60dc3c6058041a0149883a02383ae
[libc++] Revert "Make `vector` unconditionally move elements when exceptions are disabled."

This reverts r370502, which broke the use case of a copy-only T (with a
deleted move constructor) when exceptions are disabled. Until we figure
out the right behavior, I'm reverting the commit.

llvm-svn: 371068
libcxx/include/memory
libcxx/include/vector
libcxx/test/libcxx/containers/sequences/vector/exception_safety_exceptions_disabled.sh.cpp [deleted file]