Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:57:26

0001 
0002 #ifndef BOOST_MPL_OR_HPP_INCLUDED
0003 #define BOOST_MPL_OR_HPP_INCLUDED
0004 
0005 // Copyright Aleksey Gurtovoy 2000-2004
0006 //
0007 // Distributed under the Boost Software License, Version 1.0. 
0008 // (See accompanying file LICENSE_1_0.txt or copy at 
0009 // http://www.boost.org/LICENSE_1_0.txt)
0010 //
0011 // See http://www.boost.org/libs/mpl for documentation.
0012 
0013 // $Id$
0014 // $Date$
0015 // $Revision$
0016 
0017 #include <boost/mpl/aux_/config/use_preprocessed.hpp>
0018 
0019 #if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
0020     && !defined(BOOST_MPL_PREPROCESSING_MODE)
0021 
0022 #   include <boost/mpl/bool.hpp>
0023 #   include <boost/mpl/aux_/nested_type_wknd.hpp>
0024 #   include <boost/mpl/aux_/na_spec.hpp>
0025 #   include <boost/mpl/aux_/lambda_support.hpp>
0026 #   include <boost/mpl/aux_/config/msvc.hpp>
0027 
0028 // agurt, 19/may/04: workaround a conflict with <iso646.h> header's 
0029 // 'or' and 'and' macros, see http://tinyurl.com/3et69; 'defined(or)'
0030 // has to be checked in a separate condition, otherwise GCC complains 
0031 // about 'or' being an alternative token
0032 #if defined(_MSC_VER)&& !defined(__cplusplus)
0033 #ifndef __GCCXML__
0034 #if defined(or)
0035 #   pragma push_macro("or")
0036 #   undef or
0037 #   define or(x)
0038 #endif
0039 #endif
0040 #endif
0041 
0042 #   define BOOST_MPL_PREPROCESSED_HEADER or.hpp
0043 #   include <boost/mpl/aux_/include_preprocessed.hpp>
0044 
0045 #if defined(_MSC_VER) && !defined(__clang__) && !defined(__cplusplus)
0046 #ifndef __GCCXML__
0047 #if defined(or)
0048 #   pragma pop_macro("or")
0049 #endif
0050 #endif
0051 #endif
0052 
0053 #else
0054 
0055 #   define AUX778076_OP_NAME or_
0056 #   define AUX778076_OP_VALUE1 true
0057 #   define AUX778076_OP_VALUE2 false
0058 #   include <boost/mpl/aux_/logical_op.hpp>
0059 
0060 #endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
0061 #endif // BOOST_MPL_OR_HPP_INCLUDED