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,

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

Thanks,
Akira


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk