]> AND Private Git Repository - canny.git/blob - stc/exp/ml_stc_linux_make_v1.0/include/boost/mpl/aux_/config/dtp.hpp
Logo AND Algorithmique Numérique Distribuée

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