Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-15 09:57:28

0001 
0002 #ifndef BOOST_MPL_AND_HPP_INCLUDED
0003 #define BOOST_MPL_AND_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 
0027 // agurt, 19/may/04: workaround a conflict with <iso646.h> header's 
0028 // 'or' and 'and' macros, see http://tinyurl.com/3et69; 'defined(and)'
0029 // has to be checked in a separate condition, otherwise GCC complains 
0030 // about 'and' being an alternative token
0031 #if defined(_MSC_VER) && !defined(__cplusplus)
0032 #ifndef __GCCXML__
0033 #if defined(and) 
0034 #   pragma push_macro("and")
0035 #   undef and
0036 #   define and(x)
0037 #endif
0038 #endif
0039 #endif
0040 
0041 #   define BOOST_MPL_PREPROCESSED_HEADER and.hpp
0042 #   include <boost/mpl/aux_/include_preprocessed.hpp>
0043 
0044 #if defined(_MSC_VER) && !defined(__clang__) && !defined(__cplusplus)
0045 #ifndef __GCCXML__
0046 #if defined(and) 
0047 #   pragma pop_macro("and")
0048 #endif
0049 #endif
0050 #endif
0051 
0052 #else
0053 
0054 #   define AUX778076_OP_NAME and_
0055 #   define AUX778076_OP_VALUE1 false
0056 #   define AUX778076_OP_VALUE2 true
0057 #   include <boost/mpl/aux_/logical_op.hpp>
0058 
0059 #endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
0060 #endif // BOOST_MPL_AND_HPP_INCLUDED