22 Jul
2011
22 Jul
'11
8:40 a.m.
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.