Subject: Re: [boost] [iterator] Orbiting iterators
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2016-11-21 05:29:19
> -----Original Message-----
> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Jeremy Murphy
> Sent: 20 November 2016 22:00
> To: boost
> Subject: Re: [boost] [iterator] Orbiting iterators
> Hi Robert,
> On 21 Nov 2016 3:42 AM, "Robert Ramey" <ramey_at_[hidden]> wrote:
> > On 11/20/16 8:01 AM, Steve M. Robbins wrote:
> >> On Sunday, November 20, 2016 8:25:20 PM CST Jeremy Murphy wrote:
> >>> Hi,
> >>> just wondering what the mood in Boost.Iterator is for new features? At
> >>> we recently found use for an orbiting iterator, specifically a circular
> >>> one, which effectively wraps at the start/end of a bounded range. (The
> >>> domain is digital signal processing.)
Must be useful to some people, so yes.
(Needs tests, an example and docs of course to add to Boost).
> >> That sounds like what CGAL calls a Circulator; c.f. http://doc.cgal.org/
> >> latest/Circulator/classCirculator.html
> > Sounds to me like a ring_view - (ring_view?) which has been discussed for
> a long time.
We could bikeshed about the name?
Orbiting iterator, ring_iterator, circulator, never-ending ... ;-)
--- Paul A. Bristow Prizet Farmhouse Kendal UK LA8 8AB +44 (0) 1539 561830
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk