From 169988f2b2f7c303457c70a7657f2b506725de04 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Fri, 6 Oct 2000 07:37:02 +0000 Subject: [PATCH] Added BOOST_STD_EXTENSION_NAMESPACE for Metrowerks compatibility [SVN r7915] --- include/boost/config.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/boost/config.hpp b/include/boost/config.hpp index d4258ea8..51ec3ad2 100644 --- a/include/boost/config.hpp +++ b/include/boost/config.hpp @@ -146,6 +146,9 @@ // BOOST_NO_HASH: The C++ implementation does not provide the hash_set // or hash_map classes. +// BOOST_STD_EXTENSION_NAMESPACE: The name of the namespace in which the slist, +// hash_set and/or hash_map templates are defined in this implementation (if any). + // BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS: The standard library does not provide // templated iterator constructors for its containers. @@ -252,6 +255,8 @@ # define BOOST_DECL __declspec(dllimport) # endif +# define BOOST_STD_EXTENSION_NAMESPACE Metrowerks + // Sun Workshop Compiler C++ ------------------------------------------------// # elif defined __SUNPRO_CC @@ -332,6 +337,10 @@ // end of compiler specific portion ----------------------------------------// +#ifndef BOOST_STD_EXTENSION_NAMESPACE +# define BOOST_STD_EXTENSION_NAMESPACE std +#endif + // Check for old name "BOOST_NMEMBER_TEMPLATES" for compatibility -----------// // Don't use BOOST_NMEMBER_TEMPLATES. It is deprecated and will be removed soon. #if defined( BOOST_NMEMBER_TEMPLATES ) && !defined( BOOST_NO_MEMBER_TEMPLATES )