From: JOAQUIN LOPEZ MU?Z (joaquin_at_[hidden])
Date: 2004-09-25 08:56:38
Vladimir, I don't have my compiler handy right
now, but I think this is due to an overlook when
doing the adaptation to the new MPL. In particular,
the line 50 in boost/multi_index/detail/node_type.hpp:
typedef typename IndexSpecifierIterator::type index_specifier;
should be changed to
typedef typename mpl::deref<IndexSpecifierIterator>::type
(also, the corresponginf #include <boost/mp/defer.hpp>
must be inserted)
Could you please try this locally and report the results?
If the problem is solved, I'll commit something along this
line next Monday.
I don't know the rationale for having to use deref, since
I thought these two expressions are equivalent, but there
must be some difference, for Alexsey changed some of the
code in multi_index to do that when mergien the new MPL.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
----- Mensaje original -----
De: Vladimir Prus <ghost_at_[hidden]>
Fecha: Sábado, Septiembre 25, 2004 2:41 pm
Asunto: [boost] [multi_index + mpl + bind] Regression?
> The attached code, which use the multi_index library, produces
> screens of
> errors from mpl. The STLfilted log is attached too.
> Commenting out #include <boost/bind/arg.hpp> makes the error go
> away, as well
> as including it after multi_index.
> This happens with:
> gcc version 3.3.4 (Debian 1:3.3.4-6sarge1)
> gcc version 3.4.1 (Debian 3.4.1-4sarge1)
> The code used to work some time ago, but I can't give the exact date.
> I've tried too look at the problem, but got lost in MPL internals.
> - Volodya
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk