williamr@2: williamr@2: #ifndef BOOST_MPL_AUX_CONFIG_DTP_HPP_INCLUDED williamr@2: #define BOOST_MPL_AUX_CONFIG_DTP_HPP_INCLUDED williamr@2: williamr@2: // Copyright Aleksey Gurtovoy 2001-2004 williamr@2: // williamr@2: // Distributed under the Boost Software License, Version 1.0. williamr@2: // (See accompanying file LICENSE_1_0.txt or copy at williamr@2: // http://www.boost.org/LICENSE_1_0.txt) williamr@2: // williamr@2: // See http://www.boost.org/libs/mpl for documentation. williamr@2: williamr@2: // $Source: /cvsroot/boost/boost/boost/mpl/aux_/config/dtp.hpp,v $ williamr@2: // $Date: 2004/09/02 15:40:45 $ williamr@2: // $Revision: 1.9 $ williamr@2: williamr@2: #include williamr@2: williamr@2: // MWCW 7.x-8.0 "losts" default template parameters of nested class williamr@2: // templates when their owner classes are passed as arguments to other williamr@2: // templates; Borland 5.5.1 "forgets" them from the very beginning (if williamr@2: // the owner class is a class template), and Borland 5.6 isn't even williamr@2: // able to compile a definition of nested class template with DTP williamr@2: williamr@2: #if !defined(BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) \ williamr@2: && !defined(BOOST_MPL_PREPROCESSING_MODE) \ williamr@2: && BOOST_WORKAROUND(__BORLANDC__, >= 0x560) \ williamr@2: && BOOST_WORKAROUND(__BORLANDC__, < 0x600) williamr@2: williamr@2: # define BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES williamr@2: williamr@2: #endif williamr@2: williamr@2: williamr@2: #if !defined(BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) \ williamr@2: && !defined(BOOST_MPL_PREPROCESSING_MODE) \ williamr@2: && ( BOOST_WORKAROUND(__MWERKS__, <= 0x3001) \ williamr@2: || BOOST_WORKAROUND(__BORLANDC__, < 0x600) \ williamr@2: || defined(BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) \ williamr@2: ) williamr@2: williamr@2: # define BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES williamr@2: williamr@2: #endif williamr@2: williamr@2: #endif // BOOST_MPL_AUX_CONFIG_DTP_HPP_INCLUDED