Boost logo

Boost :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2005-03-01 12:18:08


Wusel ha escrito:

> >
> > !! Here I'm missing somethig... Isn't version D exactly the same
> > as version B, which does work?
>
> Exact this I wanted point out. Version D differs from version B in
> removing two lines 31, 32 only (i.e. the name index). Version C is nearly
> the same, too. Nevertheless there is a difference when compiling.
>

OK, I missed the part about removing lines 31 and 32.
Well, I am as puzzled as you. The code should work, but somehow
the compiler chokes on it. FWIW, it works OK on other compilers,
as it should be.
The error message seems to indicate that an mpl::iter_fold algorithm
running over the list of indices somewhow goes out of bounds. I've tried
to reduce the problem to something amenable to study, to no avail:
simpler formulations of the internals do not fail.
If Aleksey is reading this and wants to take a look at it, I'll be happy to
provide as much info as needed, other than that we're stuck.
You can always use numbers instead of tags (confirmed to work.)
Sorry I can't be more helpful.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk