825. Missing rvalues reference stream insert/extract operators?

Section: [syserr.errcode.overview], [util.smartptr.shared.io], 25.4.8 [facets.examples], 23.9.4 [bitset.operators], 29.5.6 [complex.ops], 30.6 [stream.buffers], 31.9 [re.submatch] Status: Resolved Submitter: Alisdair Meredith Opened: 2008-04-10 Last modified: 2017-03-22

Priority: Not Prioritized

View all issues with Resolved status.


Addresses UK 220

Should the following use rvalues references to stream in insert/extract operators?

[ Sophia Antipolis ]

Agree with the idea in the issue, Alisdair to provide wording.

[ Daniel adds 2009-02-14: ]

The proposal given in the paper N2831 apparently resolves this issue.

[ Batavia (2009-05): ]

The cited paper is an earlier version of N2844, which changed the rvalue reference binding rules. That paper includes generic templates operator<< and operator>> that adapt rvalue streams.

We therefore agree with Daniel's observation. Move to NAD EditorialResolved.

Proposed resolution: