
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, ...?
Cheers,
Simon Knapp.
compiler:
Visual Studio 2008 - version 9.0.30729.1 SP
//----------------------------------------------------------------------------------------------------------------------------
// begin iterator_tests.cpp
//----------------------------------------------------------------------------------------------------------------------------
#include <vector>
#include

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/
participants (2)
-
niXman
-
Simon Knapp