$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: [boost] [iterator] Orbiting iterators
From: Jeremy Murphy (jeremy.william.murphy_at_[hidden])
Date: 2016-11-20 04:25:20
Hi,
just wondering what the mood in Boost.Iterator is for new features? At work
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.)
Implementation details aside, does this feature sound desirable to the
library?
I call it an "orbiting" iterator because it is a specific (and useful) case
of the more general rho-shaped orbiting iterator. The theory behind it is
in chapter 2 of Elements of Programming, which happens to be the free
sample chapter available:
http://elementsofprogramming.com/032163537X_Sample.pdf#page=6
Anyway, if there is interest, I'll make a pull request.
Cheers.
Jeremy