From d9f65df85b6c334dab37a8d0dd0cbbdb9f412c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaqu=C3=ADn=20M=2E=20L=C3=B3pez=20Mu=C3=B1oz?= Date: Tue, 13 Jul 2004 13:11:35 +0000 Subject: [PATCH] explained handling of BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS by BOOST_MULTI_INDEX_MEMBER [SVN r23482] --- include/boost/multi_index/member.hpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/include/boost/multi_index/member.hpp b/include/boost/multi_index/member.hpp index 6cd6a00..3dd5663 100644 --- a/include/boost/multi_index/member.hpp +++ b/include/boost/multi_index/member.hpp @@ -208,11 +208,12 @@ struct member_offset: { }; -/* A proposal has been issued to add a defect macro in Boost.Config to detect - * this problem with pointers to members as template arguments. While - * the macro gets into the library, we follow our own heuristics in order to - * define BOOST_MULTI_INDEX_MEMBER as a convenient wrapper of member<> and - * member_offset<> +/* BOOST_MULTI_INDEX_MEMBER resolves to member in the normal cases, + * and to member_offset as a workaround in those defective compilers for + * which BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS is defined. + * This latter defect macro was included in Boost.Config starting from + * Boost 1.32, but we keep some additional checking of our own to + * remain compatible with Boost 1.31. */ #if defined(BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS) ||\