os/ossrv/ossrv_pub/boost_apis/boost/mpl/and.hpp
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/ossrv_pub/boost_apis/boost/mpl/and.hpp	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,56 @@
     1.4 +
     1.5 +#ifndef BOOST_MPL_AND_HPP_INCLUDED
     1.6 +#define BOOST_MPL_AND_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/and.hpp,v $
    1.17 +// $Date: 2004/09/02 15:40:41 $
    1.18 +// $Revision: 1.5 $
    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 +
    1.30 +// agurt, 19/may/04: workaround a conflict with <iso646.h> header's 
    1.31 +// 'or' and 'and' macros, see http://tinyurl.com/3et69; 'defined(and)'
    1.32 +// has to be checked in a separate condition, otherwise GCC complains 
    1.33 +// about 'and' being an alternative token
    1.34 +#if defined(_MSC_VER) 
    1.35 +#if defined(and) 
    1.36 +#   pragma push_macro("and")
    1.37 +#   undef and
    1.38 +#   define and(x)
    1.39 +#endif
    1.40 +#endif
    1.41 +
    1.42 +#   define BOOST_MPL_PREPROCESSED_HEADER and.hpp
    1.43 +#   include <boost/mpl/aux_/include_preprocessed.hpp>
    1.44 +
    1.45 +#if defined(_MSC_VER)
    1.46 +#if defined(and) 
    1.47 +#   pragma pop_macro("and")
    1.48 +#endif
    1.49 +#endif
    1.50 +
    1.51 +#else
    1.52 +
    1.53 +#   define AUX778076_OP_NAME and_
    1.54 +#   define AUX778076_OP_VALUE1 false
    1.55 +#   define AUX778076_OP_VALUE2 true
    1.56 +#   include <boost/mpl/aux_/logical_op.hpp>
    1.57 +
    1.58 +#endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
    1.59 +#endif // BOOST_MPL_AND_HPP_INCLUDED