From 7025b01bef48b3737b62c0517dc3af64c2f01a31 Mon Sep 17 00:00:00 2001 From: Mark Rodgers Date: Wed, 12 Jul 2000 08:31:46 +0000 Subject: [PATCH] Added missing BOOST_NO_USING_TEMPLATE docs and moved this since it infects BCB4 as well and BCC5.5. Added BOOST_NO_POINTER_TO_MEMBER_CONST at the suggestion of Fabrice Truillot. [SVN r7624] --- include/boost/config.hpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/include/boost/config.hpp b/include/boost/config.hpp index b0edc228..43ab0ab6 100644 --- a/include/boost/config.hpp +++ b/include/boost/config.hpp @@ -63,6 +63,10 @@ // friend functions to be defined at namespace scope, then using'ed to boost. // Probably GCC specific. See boost/operators.hpp for example. +// BOOST_NO_POINTER_TO_MEMBER_CONST: The compiler does not correctly handle +// pointers to const member functions, preventing use of these in overloaded +// function templates. See boost/functional.hpp for example. + // BOOST_NO_STD_ITERATOR: The C++ implementation fails to provide the // std::iterator class. @@ -80,7 +84,9 @@ // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION. Class template partial // specialization (14.5.4 [temp.class.spec]) not supported. -// BOOST_NO_USING_TEMPLATE: This needs some docs! +// BOOST_NO_USING_TEMPLATE: The compiler will not accept a using declaration +// that imports a template from the global namespace into a named namespace. +// Probably Borland specific. // Compiler Control or Information Macros ----------------------------------// // @@ -142,10 +148,10 @@ # if __BORLANDC__ <= 0x0550 // Borland C++ Builder 4 and 5: # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS +# define BOOST_NO_USING_TEMPLATE # if __BORLANDC__ == 0x0550 // Borland C++ Builder 5, command-line compiler 5.5: # define BOOST_NO_OPERATORS_IN_NAMESPACE -# define BOOST_NO_USING_TEMPLATE # endif # endif # if defined BOOST_DECL_EXPORTS @@ -177,6 +183,7 @@ # elif defined __MWERKS__ # if __MWERKS__ <= 0x2301 # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS +# define BOOST_NO_POINTER_TO_MEMBER_CONST # endif # if __MWERKS__ >= 0x2300 # define BOOST_SYSTEM_HAS_STDINT_H