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...)

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at