Boost logo

Boost Users :

Subject: Re: [Boost-users] A forward iterator need not be default-constructible
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-10-03 10:08:05


on Sun Oct 02 2011, Andrew Sutton <asutton.list-AT-gmail.com> wrote:

> I think an interesting question is, "what
> are the general properties of iterators that causes operations on them
> to result in singularity?". When is *i defined?

Two separate questions. PTE iterators are "nonsingular" (i.e. support a
superset of the operations required of singular iterators) but you can't
dereference them.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net