Boost logo

Boost Users :

Subject: Re: [Boost-users] Pushing iterators to far?
From: niXman (i.nixman_at_[hidden])
Date: 2013-01-10 05:15:46


2013/1/10 Simon Knapp:
> Hi All,
>
> I'm trying to do some slightly hooky stuff with the iterators library and
> cannot get the following code to compile.
>
> When the second last line of main is uncommented ("ZIter iter(b);"),
> compilation fails.
>
> The error mesages suggest this is a problem with determining the appropriate
> traversal category of "ZIter".
>
> Can anyone advise if this is problem with my code, a bug, am I asking too
> much of the library, ...?

What boost version are used?
With gcc-4.7.2 & boost-1.49/boost-1.50 - no problems:
http://liveworkspace.org/code/33S7Mc$0

-- 
Regards,
niXman
___________________________________________________
Dual-target(32 & 64-bit) MinGW compilers for 32 and 64-bit Windows:
http://sourceforge.net/projects/mingwbuilds/
___________________________________________________
Another online IDE: http://liveworkspace.org/

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