LWG 2328 Rvalue stream extraction should use perfect forwarding
authorJonathan Wakely <jwakely@redhat.com>
Wed, 20 Jul 2016 18:21:53 +0000 (19:21 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 20 Jul 2016 18:21:53 +0000 (19:21 +0100)
commit07c772ed4e2bfd648c705575b0ff7f0c06f44c0c
tree5864bd747d713f7fbbd48ba1ca5e713dfe3d26ca
parent18407bfb2c2a34648ac7a1a8ebaa9a72a04126c6
LWG 2328 Rvalue stream extraction should use perfect forwarding

* include/std/istream (operator>>(basic_istream&&, _Tp&)): Adjust
to use perfect forwarding (LWG 2328).
* testsuite/27_io/rvalue_streams.cc: Test perfect forwarding.
* doc/xml/manual/intro.xml: Document DR 2328 status.

From-SVN: r238533
libstdc++-v3/ChangeLog
libstdc++-v3/doc/xml/manual/intro.xml
libstdc++-v3/include/std/istream
libstdc++-v3/testsuite/27_io/rvalue_streams.cc