make_iterator_range() have similar functionality.What I want to do is this:
std::set<int> input;
input += 1,2,3,4,5,6,7,8,9;
boost::copy(
input | sliced(2, 5),
I guess it would make sense to extend sliced() to
work in terms of advance() too, so it can work even with input iterators.