Boost logo

Boost Users :

Subject: Re: [Boost-users] cycle iterators
From: er (erwann.rogard_at_[hidden])
Date: 2009-09-02 21:21:57


> Can you provide an example of use that shows the problem/error?

Here's an excerpt from the example given in one of my previous replies
to this post:

     typedef cycle_iterator<base_it_,size_> it_;
     it_ it(boost::begin(vec),boost::end(vec),0);
     it_ it2;
     it2 = it;

/Developer/SDKs/MacOSX10.5.sdk/usr/include/c++/4.0.0/debug/safe_iterator.h:162:
     error: attempt to copy from a singular iterator.


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