[libcxx-commits] [PATCH] D62889: rvalue stream operators (1203 and 2534)

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jun 4 21:04:59 PDT 2019


zoecarver created this revision.
zoecarver added reviewers: mclow.lists, EricWF, ldionne.
Herald added subscribers: libcxx-commits, dexonsmith.

This patch fixes issues 1203 <https://cplusplus.github.io/LWG/issue1203> and 2534 <https://cplusplus.github.io/LWG/issue2534>. 1203 hasn't been adopted by the standard but was already partially supported. I think it is better to fully support it (which cannot break existing code) rather than remove partial support of it which will remove functionality people may rely on.


Repository:
  rCXX libc++

https://reviews.llvm.org/D62889

Files:
  include/istream
  include/ostream
  include/type_traits
  test/std/input.output/iostream.format/input.streams/istream.rvalue/ios_base_operator_overload_resolution.fail.cpp
  test/std/input.output/iostream.format/input.streams/istream.rvalue/perfect_forwarding.pass.cpp
  test/std/input.output/iostream.format/output.streams/ostream.rvalue/ios_base_operator_overload_resolution.fail.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62889.203068.patch
Type: text/x-patch
Size: 6329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190605/91494b4e/attachment.bin>


More information about the libcxx-commits mailing list