22 Jul
2011
22 Jul
'11
8:52 a.m.
Hi, Nathan.
2011/7/22 Nathan Ridge
The boost::istream_range function currently takes its parameter by lvalue reference (i.e. istream&). Can this be changed to rvalue reference (istream&&)?
This way one can write things like:
vector<T> v; push_back(v, istream_range<T>(ifstream("some_file.txt")));
Good idea! +1