Boost logo

Boost Users :

From: JOAQUIN LOPEZ MU?Z (joaquin_at_[hidden])
Date: 2007-06-20 17:04:17


----- Mensaje original -----
De: Benson Margulies <bim2007_at_[hidden]>
Fecha: Miércoles, Junio 20, 2007 10:13 pm
Asunto: [Boost-users] Examples for multi-indexing look rather
        different from doc
Para: boost-users_at_[hidden]

> 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


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