Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:40:59

0001 
0002 #ifndef BOOST_MPL_AUX_CONFIG_DTP_HPP_INCLUDED
0003 #define BOOST_MPL_AUX_CONFIG_DTP_HPP_INCLUDED
0004 
0005 // Copyright Aleksey Gurtovoy 2001-2004
0006 //
0007 // Distributed under the Boost Software License, Version 1.0. 
0008 // (See accompanying file LICENSE_1_0.txt or copy at 
0009 // http://www.boost.org/LICENSE_1_0.txt)
0010 //
0011 // See http://www.boost.org/libs/mpl for documentation.
0012 
0013 // $Id$
0014 // $Date$
0015 // $Revision$
0016 
0017 #include <boost/mpl/aux_/config/workaround.hpp>
0018 
0019 // MWCW 7.x-8.0 "losts" default template parameters of nested class 
0020 // templates when their owner classes are passed as arguments to other 
0021 // templates; Borland 5.5.1 "forgets" them from the very beginning (if 
0022 // the owner class is a class template), and Borland 5.6 isn't even
0023 // able to compile a definition of nested class template with DTP
0024 
0025 #if    !defined(BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) \
0026     && !defined(BOOST_MPL_PREPROCESSING_MODE) \
0027     && BOOST_WORKAROUND(BOOST_BORLANDC, >= 0x560) \
0028     && BOOST_WORKAROUND(BOOST_BORLANDC, BOOST_TESTED_AT(0x610))
0029 
0030 #   define BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES
0031 
0032 #endif
0033 
0034 
0035 #if    !defined(BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) \
0036     && !defined(BOOST_MPL_PREPROCESSING_MODE) \
0037     && (   BOOST_WORKAROUND(__MWERKS__, <= 0x3001) \
0038         || BOOST_WORKAROUND(BOOST_BORLANDC, BOOST_TESTED_AT(0x610)) \
0039         || defined(BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) \
0040         )
0041         
0042 #   define BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES
0043 
0044 #endif
0045 
0046 #endif // BOOST_MPL_AUX_CONFIG_DTP_HPP_INCLUDED