1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/boost/mpl/aux_/config/dtp.hpp Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,46 @@
1.4 +
1.5 +#ifndef BOOST_MPL_AUX_CONFIG_DTP_HPP_INCLUDED
1.6 +#define BOOST_MPL_AUX_CONFIG_DTP_HPP_INCLUDED
1.7 +
1.8 +// Copyright Aleksey Gurtovoy 2001-2004
1.9 +//
1.10 +// Distributed under the Boost Software License, Version 1.0.
1.11 +// (See accompanying file LICENSE_1_0.txt or copy at
1.12 +// http://www.boost.org/LICENSE_1_0.txt)
1.13 +//
1.14 +// See http://www.boost.org/libs/mpl for documentation.
1.15 +
1.16 +// $Source: /cvsroot/boost/boost/boost/mpl/aux_/config/dtp.hpp,v $
1.17 +// $Date: 2004/09/02 15:40:45 $
1.18 +// $Revision: 1.9 $
1.19 +
1.20 +#include <boost/mpl/aux_/config/workaround.hpp>
1.21 +
1.22 +// MWCW 7.x-8.0 "losts" default template parameters of nested class
1.23 +// templates when their owner classes are passed as arguments to other
1.24 +// templates; Borland 5.5.1 "forgets" them from the very beginning (if
1.25 +// the owner class is a class template), and Borland 5.6 isn't even
1.26 +// able to compile a definition of nested class template with DTP
1.27 +
1.28 +#if !defined(BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) \
1.29 + && !defined(BOOST_MPL_PREPROCESSING_MODE) \
1.30 + && BOOST_WORKAROUND(__BORLANDC__, >= 0x560) \
1.31 + && BOOST_WORKAROUND(__BORLANDC__, < 0x600)
1.32 +
1.33 +# define BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES
1.34 +
1.35 +#endif
1.36 +
1.37 +
1.38 +#if !defined(BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) \
1.39 + && !defined(BOOST_MPL_PREPROCESSING_MODE) \
1.40 + && ( BOOST_WORKAROUND(__MWERKS__, <= 0x3001) \
1.41 + || BOOST_WORKAROUND(__BORLANDC__, < 0x600) \
1.42 + || defined(BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) \
1.43 + )
1.44 +
1.45 +# define BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES
1.46 +
1.47 +#endif
1.48 +
1.49 +#endif // BOOST_MPL_AUX_CONFIG_DTP_HPP_INCLUDED