epoc32/include/stdapis/boost/mpl/aux_/config/dtp.hpp
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
williamr@2
     1
williamr@2
     2
#ifndef BOOST_MPL_AUX_CONFIG_DTP_HPP_INCLUDED
williamr@2
     3
#define BOOST_MPL_AUX_CONFIG_DTP_HPP_INCLUDED
williamr@2
     4
williamr@2
     5
// Copyright Aleksey Gurtovoy 2001-2004
williamr@2
     6
//
williamr@2
     7
// Distributed under the Boost Software License, Version 1.0. 
williamr@2
     8
// (See accompanying file LICENSE_1_0.txt or copy at 
williamr@2
     9
// http://www.boost.org/LICENSE_1_0.txt)
williamr@2
    10
//
williamr@2
    11
// See http://www.boost.org/libs/mpl for documentation.
williamr@2
    12
williamr@2
    13
// $Source: /cvsroot/boost/boost/boost/mpl/aux_/config/dtp.hpp,v $
williamr@2
    14
// $Date: 2004/09/02 15:40:45 $
williamr@2
    15
// $Revision: 1.9 $
williamr@2
    16
williamr@2
    17
#include <boost/mpl/aux_/config/workaround.hpp>
williamr@2
    18
williamr@2
    19
// MWCW 7.x-8.0 "losts" default template parameters of nested class 
williamr@2
    20
// templates when their owner classes are passed as arguments to other 
williamr@2
    21
// templates; Borland 5.5.1 "forgets" them from the very beginning (if 
williamr@2
    22
// the owner class is a class template), and Borland 5.6 isn't even
williamr@2
    23
// able to compile a definition of nested class template with DTP
williamr@2
    24
williamr@2
    25
#if    !defined(BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) \
williamr@2
    26
    && !defined(BOOST_MPL_PREPROCESSING_MODE) \
williamr@2
    27
    && BOOST_WORKAROUND(__BORLANDC__, >= 0x560) \
williamr@2
    28
    && BOOST_WORKAROUND(__BORLANDC__, < 0x600)
williamr@2
    29
williamr@2
    30
#   define BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES
williamr@2
    31
williamr@2
    32
#endif
williamr@2
    33
williamr@2
    34
williamr@2
    35
#if    !defined(BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) \
williamr@2
    36
    && !defined(BOOST_MPL_PREPROCESSING_MODE) \
williamr@2
    37
    && (   BOOST_WORKAROUND(__MWERKS__, <= 0x3001) \
williamr@2
    38
        || BOOST_WORKAROUND(__BORLANDC__, < 0x600) \
williamr@2
    39
        || defined(BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) \
williamr@2
    40
        )
williamr@2
    41
        
williamr@2
    42
#   define BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES
williamr@2
    43
williamr@2
    44
#endif
williamr@2
    45
williamr@2
    46
#endif // BOOST_MPL_AUX_CONFIG_DTP_HPP_INCLUDED