Page MenuHomePhabricator

rvalue stream operators (1203 and 2534)
Needs ReviewPublic

Authored by zoecarver on Jun 4 2019, 9:04 PM.

Details

Summary

This patch fixes issues 1203 and 2534. 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.

Diff Detail

Event Timeline

zoecarver created this revision.Jun 4 2019, 9:04 PM
zoecarver updated this revision to Diff 203069.Jun 4 2019, 9:08 PM
zoecarver marked an inline comment as done.
  • update status
test/std/input.output/iostream.format/input.streams/istream.rvalue/perfect_forwarding.pass.cpp
2

I didn't include a test like this for ostream because I didn't think it would be meaningful (I can if you want though).