Boost logo

Boost Users :

Subject: Re: [Boost-users] [range] istream_range from a temporary istream
From: Nathan Ridge (zeratul976_at_[hidden])
Date: 2011-07-22 04:40:12


> The boost::istream_range function currently takes its parameter by
> lvalue reference (i.e. istream&). Can this be changed to rvalue
> reference (istream&&)?

Or, rather, can an istream&& overload be provided alongside the
istream& version (if there was only an rvalue reference version, it
couldn't bind to lvalues and we'd have the reverse problem...)
 
Regards,
Nate.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net