Boost logo

Boost :

Subject: Re: [boost] [range] RFC: span(iterator, size)
From: Akira Takahashi (faithandbrave_at_[hidden])
Date: 2013-10-29 12:39:49

2013/10/30 TONGARI J <tongari95_at_[hidden]>

> Hi Akira,
> I don't think this is what I want, but the underlying iterator may be
> similar to what I called 'counted_iterator', I'm not sure.
> So, 'span' is a utility function that generates a range from an iterator &
> size, unlike 'taken' which is an adaptor from another range.
> If you can provide the 'span' utility as well, that'll be great :)
> Thanks,

What do you think about out of range check?
What situation is it useful?


Boost list run by bdawes at, gregod at, cpdaniel at, john at