|
Boost : |
From: Darin Adler (darin_at_[hidden])
Date: 2001-12-22 10:33:33
On 12/22/01 1:23 AM, "James Mitchell" <jimdesu_at_[hidden]> wrote:
> This would allow me to use one value to denote the range with which I'm
> working, allowing me to cleanly return it as the result of a function call.
> I'd also write corresponding wrappers to the standard algorithms that would
> call the regular algorithms, extracting begin() & end() from the range.
I have two thoughts about this.
First, there's already a type for this in Boost, called half_open_range.
Second, the specific idea you are proposing was discussed in past threads:
http://groups.yahoo.com/group/boost/message/5178
http://groups.yahoo.com/group/boost/message/15355
http://groups.yahoo.com/group/boost/message/19067
No one has yet picked up the project and developed it to the formal review
stage.
-- Darin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk