$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] circular_buffer, debug and invalid iterator checking
From: Anthony Foglia (afoglia_at_[hidden])
Date: 2010-11-09 10:39:06
On 11/8/2010 2:58 PM, Nigel Stewart wrote:
> Since the iterator is random access, perhaps they could be
> converted to integers via operator - and converted back to
> integers via operator + or operator +=.
That's what I did, but I used std::distance and std::advance instead, as
per Meyer's suggestion in Effective STL.
-- Anthony Foglia Princeton Consultants (609) 987-8787 x233