1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/ossrv/ossrv_pub/boost_apis/boost/mpl/or.hpp Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,57 @@
1.4 +
1.5 +#ifndef BOOST_MPL_OR_HPP_INCLUDED
1.6 +#define BOOST_MPL_OR_HPP_INCLUDED
1.7 +
1.8 +// Copyright Aleksey Gurtovoy 2000-2004
1.9 +//
1.10 +// Distributed under the Boost Software License, Version 1.0.
1.11 +// (See accompanying file LICENSE_1_0.txt or copy at
1.12 +// http://www.boost.org/LICENSE_1_0.txt)
1.13 +//
1.14 +// See http://www.boost.org/libs/mpl for documentation.
1.15 +
1.16 +// $Source: /cvsroot/boost/boost/boost/mpl/or.hpp,v $
1.17 +// $Date: 2004/09/02 15:40:42 $
1.18 +// $Revision: 1.4 $
1.19 +
1.20 +#include <boost/mpl/aux_/config/use_preprocessed.hpp>
1.21 +
1.22 +#if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
1.23 + && !defined(BOOST_MPL_PREPROCESSING_MODE)
1.24 +
1.25 +# include <boost/mpl/bool.hpp>
1.26 +# include <boost/mpl/aux_/nested_type_wknd.hpp>
1.27 +# include <boost/mpl/aux_/na_spec.hpp>
1.28 +# include <boost/mpl/aux_/lambda_support.hpp>
1.29 +# include <boost/mpl/aux_/config/msvc.hpp>
1.30 +
1.31 +// agurt, 19/may/04: workaround a conflict with <iso646.h> header's
1.32 +// 'or' and 'and' macros, see http://tinyurl.com/3et69; 'defined(or)'
1.33 +// has to be checked in a separate condition, otherwise GCC complains
1.34 +// about 'or' being an alternative token
1.35 +#if defined(_MSC_VER)
1.36 +#if defined(or)
1.37 +# pragma push_macro("or")
1.38 +# undef or
1.39 +# define or(x)
1.40 +#endif
1.41 +#endif
1.42 +
1.43 +# define BOOST_MPL_PREPROCESSED_HEADER or.hpp
1.44 +# include <boost/mpl/aux_/include_preprocessed.hpp>
1.45 +
1.46 +#if defined(_MSC_VER)
1.47 +#if defined(or)
1.48 +# pragma pop_macro("or")
1.49 +#endif
1.50 +#endif
1.51 +
1.52 +#else
1.53 +
1.54 +# define AUX778076_OP_NAME or_
1.55 +# define AUX778076_OP_VALUE1 true
1.56 +# define AUX778076_OP_VALUE2 false
1.57 +# include <boost/mpl/aux_/logical_op.hpp>
1.58 +
1.59 +#endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
1.60 +#endif // BOOST_MPL_OR_HPP_INCLUDED