epoc32/include/stdapis/boost/mpl/and.hpp
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
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@4
     1
williamr@4
     2
#ifndef BOOST_MPL_AND_HPP_INCLUDED
williamr@4
     3
#define BOOST_MPL_AND_HPP_INCLUDED
williamr@4
     4
williamr@4
     5
// Copyright Aleksey Gurtovoy 2000-2004
williamr@4
     6
//
williamr@4
     7
// Distributed under the Boost Software License, Version 1.0. 
williamr@4
     8
// (See accompanying file LICENSE_1_0.txt or copy at 
williamr@4
     9
// http://www.boost.org/LICENSE_1_0.txt)
williamr@4
    10
//
williamr@4
    11
// See http://www.boost.org/libs/mpl for documentation.
williamr@4
    12
williamr@4
    13
// $Source: /cvsroot/boost/boost/boost/mpl/and.hpp,v $
williamr@4
    14
// $Date: 2004/09/02 15:40:41 $
williamr@4
    15
// $Revision: 1.5 $
williamr@4
    16
williamr@4
    17
#include <boost/mpl/aux_/config/use_preprocessed.hpp>
williamr@4
    18
williamr@4
    19
#if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
williamr@4
    20
    && !defined(BOOST_MPL_PREPROCESSING_MODE)
williamr@4
    21
williamr@4
    22
#   include <boost/mpl/bool.hpp>
williamr@4
    23
#   include <boost/mpl/aux_/nested_type_wknd.hpp>
williamr@4
    24
#   include <boost/mpl/aux_/na_spec.hpp>
williamr@4
    25
#   include <boost/mpl/aux_/lambda_support.hpp>
williamr@4
    26
williamr@4
    27
// agurt, 19/may/04: workaround a conflict with <iso646.h> header's 
williamr@4
    28
// 'or' and 'and' macros, see http://tinyurl.com/3et69; 'defined(and)'
williamr@4
    29
// has to be checked in a separate condition, otherwise GCC complains 
williamr@4
    30
// about 'and' being an alternative token
williamr@4
    31
#if defined(_MSC_VER) 
williamr@4
    32
#if defined(and) 
williamr@4
    33
#   pragma push_macro("and")
williamr@4
    34
#   undef and
williamr@4
    35
#   define and(x)
williamr@4
    36
#endif
williamr@4
    37
#endif
williamr@4
    38
williamr@4
    39
#   define BOOST_MPL_PREPROCESSED_HEADER and.hpp
williamr@4
    40
#   include <boost/mpl/aux_/include_preprocessed.hpp>
williamr@4
    41
williamr@4
    42
#if defined(_MSC_VER)
williamr@4
    43
#if defined(and) 
williamr@4
    44
#   pragma pop_macro("and")
williamr@4
    45
#endif
williamr@4
    46
#endif
williamr@4
    47
williamr@4
    48
#else
williamr@4
    49
williamr@4
    50
#   define AUX778076_OP_NAME and_
williamr@4
    51
#   define AUX778076_OP_VALUE1 false
williamr@4
    52
#   define AUX778076_OP_VALUE2 true
williamr@4
    53
#   include <boost/mpl/aux_/logical_op.hpp>
williamr@4
    54
williamr@4
    55
#endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
williamr@4
    56
#endif // BOOST_MPL_AND_HPP_INCLUDED