Chris@16: Chris@16: #ifndef BOOST_MPL_AND_HPP_INCLUDED Chris@16: #define BOOST_MPL_AND_HPP_INCLUDED Chris@16: Chris@16: // Copyright Aleksey Gurtovoy 2000-2004 Chris@16: // Chris@16: // Distributed under the Boost Software License, Version 1.0. Chris@16: // (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: // Chris@16: // See http://www.boost.org/libs/mpl for documentation. Chris@16: Chris@101: // $Id$ Chris@101: // $Date$ Chris@101: // $Revision$ Chris@16: Chris@16: #include Chris@16: Chris@16: #if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \ Chris@16: && !defined(BOOST_MPL_PREPROCESSING_MODE) Chris@16: Chris@16: # include Chris@16: # include Chris@16: # include Chris@16: # include Chris@16: Chris@16: // agurt, 19/may/04: workaround a conflict with header's Chris@16: // 'or' and 'and' macros, see http://tinyurl.com/3et69; 'defined(and)' Chris@16: // has to be checked in a separate condition, otherwise GCC complains Chris@16: // about 'and' being an alternative token Chris@101: #if defined(_MSC_VER) && !defined(__clang__) Chris@16: #ifndef __GCCXML__ Chris@16: #if defined(and) Chris@16: # pragma push_macro("and") Chris@16: # undef and Chris@16: # define and(x) Chris@16: #endif Chris@16: #endif Chris@16: #endif Chris@16: Chris@16: # define BOOST_MPL_PREPROCESSED_HEADER and.hpp Chris@16: # include Chris@16: Chris@101: #if defined(_MSC_VER) && !defined(__clang__) Chris@16: #ifndef __GCCXML__ Chris@16: #if defined(and) Chris@16: # pragma pop_macro("and") Chris@16: #endif Chris@16: #endif Chris@16: #endif Chris@16: Chris@16: #else Chris@16: Chris@16: # define AUX778076_OP_NAME and_ Chris@16: # define AUX778076_OP_VALUE1 false Chris@16: # define AUX778076_OP_VALUE2 true Chris@16: # include Chris@16: Chris@16: #endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS Chris@16: #endif // BOOST_MPL_AND_HPP_INCLUDED