Boost logo

Boost Users :

From: JOAQUIN LOPEZ MU?Z (joaquin_at_[hidden])
Date: 2005-08-30 17:49:23


> I tried putting the boost::multi_index::member<> in bare and it
> resulted in
> the error, regardless of if I hit 'build' or 'rebuild' solution.

Weird!! I'd be greateful if you could pursue this a little more.
The macro looks like (the second branch is that matters):

#if defined(BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS)
#define BOOST_MULTI_INDEX_MEMBER(Class,Type,MemberName) \
::boost::multi_index::member_offset<Class,Type,offsetof
(Class,MemberName)>
#else
#define BOOST_MULTI_INDEX_MEMBER(Class,Type,MemberName) \
::boost::multi_index::member<Class,Type,&Class::MemberName>
#endif

The only difference with the bare member call I can see is
the full qualification, with a beginning :: included. Could
you see if this makes any difference? Thanks!

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


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