[PATCH] D32385: [libcxx] optional: Implement LWG 2900 and P0602

Casey Carter via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 29 06:39:44 PDT 2017


CaseyCarter updated this revision to Diff 97188.
CaseyCarter retitled this revision from "[libcxx] Implement LWG 2900 "The copy and move constructors of optional are not constexpr"" to "[libcxx] optional: Implement LWG 2900 and P0602".
CaseyCarter edited the summary of this revision.
CaseyCarter added a comment.

- Define new macro `_MSVC_STL_VER` in msvc_stdlib_force_include.hpp to indicate that the VC++ standard library is being tested.
- Implement test coverage for P0602 "variant and optional should propagate copy/move triviality".


https://reviews.llvm.org/D32385

Files:
  include/optional
  test/std/utilities/optional/optional.object/optional.object.assign/copy.pass.cpp
  test/std/utilities/optional/optional.object/optional.object.assign/move.pass.cpp
  test/std/utilities/optional/optional.object/optional.object.ctor/copy.pass.cpp
  test/std/utilities/optional/optional.object/optional.object.ctor/move.pass.cpp
  test/support/msvc_stdlib_force_include.hpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32385.97188.patch
Type: text/x-patch
Size: 16123 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170429/4628ae1b/attachment-0001.bin>


More information about the cfe-commits mailing list