|
Boost Users : |
Subject: Re: [Boost-users] A forward iterator need not be default-constructible
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-10-03 12:51:56
on Mon Oct 03 2011, Jeremiah Willcock <jewillco-AT-osl.iu.edu> wrote:
> Another complicating issue is that an iterator is singular or
> non-singular with respect to a particular container. For example,
> given the following declarations:
>
> int a[5], b[5];
>
> and assuming a and b are contiguous in memory, &a[5] is a singular
> iterator for the array a
It's a PTE iterator, which is not minimally singular.
-- 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