[PATCH] D31956: Implement (part of) LWG2857: `{variant, optional, any}::emplace` should return the constructed value

Marshall Clow via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 11 12:57:59 PDT 2017


mclow.lists created this revision.

Implement the `optional` and `any` part of this issue.

This changes the return type of these functions.


https://reviews.llvm.org/D31956

Files:
  include/any
  include/optional
  test/std/utilities/any/any.class/any.modifiers/emplace.pass.cpp
  test/std/utilities/optional/optional.object/optional.object.assign/emplace.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31956.94878.patch
Type: text/x-patch
Size: 14504 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170411/974d528d/attachment.bin>


More information about the cfe-commits mailing list