Examples for multi-indexing look rather different from doc
The current doc for the multi-index feature uses the member<> parameterized type as the key extractor. The example source codes use some CPP macro all in caps that doesn't seem to be defined any longer. Perhaps the doc needs an update?
----- Mensaje original -----
De: Benson Margulies
The current doc for the multi-index feature uses the member<> parameterized type as the key extractor. The example source codes use some CPP macro all in caps that doesn't seem to be defined any longer. Perhaps the doc needs an update?
I don't think so, the macro is actually defined, and the examples include a comment on where to find more info on BOOST_MULTI_INDEX_MEMBER: /* see Compiler specifics: Use of member_offset for info on * BOOST_MULTI_INDEX_MEMBER */ (that is, http://boost.org/libs/multi_index/doc/compiler_specifics.html#member_of fset ) Note that this macro is useful only for compilers having the BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS defect, and Sun C++ 5.8 is not among these. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
participants (2)
-
"JOAQUIN LOPEZ MU?Z"
-
Benson Margulies