$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Any "2D" iterator?
From: Dave Abrahams (dave_at_[hidden])
Date: 2010-09-18 21:31:07
On Sat, Sep 18, 2010 at 10:37 AM, TONGARI <tongari95_at_[hidden]> wrote:
>
>
> 2010/9/17 <lfrfly_at_[hidden]>
>>
>> It seems like there ought to be a natural way to do this using an iterator
>> class.
>
>
> I don't think that'll be a good solution to this problem, not efficient
> enough.
Whether it's efficient "enough" really depends on the OP's
requirements. However, if you're worried about efficiency you should
look up Matt Austern's 1998 paper "Segmented Iterators and
Hierarchical Algorithms"
-- Dave Abrahams BoostPro Computing http://www.boostpro.com