Hi,
getting lambda work with multi_index seems a bit tough for me....
the following compiles fine with MSVC++ 2003, but not when I #include
sequenced_index.hpp or ordered_index.hpp.
The error message says:
error C2872: '_1' : ambiguous symbol
could be
'c:\Boost\include\boost-1_33_1\boost\lambda\core.hpp(69) : const
boost::lambda::placeholder1_type &boost::lambda::`anonymous-namespace'::_1'
or
'c:\Boost\include\boost-1_33_1\boost\bind\placeholders.hpp(42) :
boost::arg<I> `anonymous-namespace'::_1'
with
[
I=1
]
This can of course be fixed by using boost::lambda::_1, but I doubt that
it is the expected behavior.
Can anyone please explain what I'm doing wrong?
Thanks,
Filip
#include