$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [range] istream_range from a temporary istream
From: Nathan Ridge (zeratul976_at_[hidden])
Date: 2011-07-22 04:12:48
Hello,
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")));
Regards,
Nate.