Pack required boost code together.
[xy_vsfilter.git] / src / thirdparty / boost_1_47_0 / boost / mpl / aux_ / config / dtp.hpp
blob1fcd513305b95f8c6c8be2621e606b8650e3336f
2 #ifndef BOOST_MPL_AUX_CONFIG_DTP_HPP_INCLUDED
3 #define BOOST_MPL_AUX_CONFIG_DTP_HPP_INCLUDED
5 // Copyright Aleksey Gurtovoy 2001-2004
6 //
7 // Distributed under the Boost Software License, Version 1.0.
8 // (See accompanying file LICENSE_1_0.txt or copy at
9 // http://www.boost.org/LICENSE_1_0.txt)
11 // See http://www.boost.org/libs/mpl for documentation.
13 // $Id: dtp.hpp 49267 2008-10-11 06:19:02Z agurtovoy $
14 // $Date: 2008-10-11 02:19:02 -0400 (Sat, 11 Oct 2008) $
15 // $Revision: 49267 $
17 #include <boost/mpl/aux_/config/workaround.hpp>
19 // MWCW 7.x-8.0 "losts" default template parameters of nested class
20 // templates when their owner classes are passed as arguments to other
21 // templates; Borland 5.5.1 "forgets" them from the very beginning (if
22 // the owner class is a class template), and Borland 5.6 isn't even
23 // able to compile a definition of nested class template with DTP
25 #if !defined(BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) \
26 && !defined(BOOST_MPL_PREPROCESSING_MODE) \
27 && BOOST_WORKAROUND(__BORLANDC__, >= 0x560) \
28 && BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x610))
30 # define BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES
32 #endif
35 #if !defined(BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) \
36 && !defined(BOOST_MPL_PREPROCESSING_MODE) \
37 && ( BOOST_WORKAROUND(__MWERKS__, <= 0x3001) \
38 || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x610)) \
39 || defined(BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) \
42 # define BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES
44 #endif
46 #endif // BOOST_MPL_AUX_CONFIG_DTP_HPP_INCLUDED