PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Src/Dependencies/Boost/boost/mpl/bitor.hpp

http://hadesmem.googlecode.com/
C++ Header | 45 lines | 23 code | 7 blank | 15 comment | 0 complexity | 907b9d323e9650e3aac740f7726f3e35 MD5 | raw file
 1
 2#ifndef BOOST_MPL_BITOR_HPP_INCLUDED
 3#define BOOST_MPL_BITOR_HPP_INCLUDED
 4
 5// Copyright Aleksey Gurtovoy 2000-2009
 6// Copyright Jaap Suter 2003
 7//
 8// Distributed under the Boost Software License, Version 1.0. 
 9// (See accompanying file LICENSE_1_0.txt or copy at 
10// http://www.boost.org/LICENSE_1_0.txt)
11//
12// See http://www.boost.org/libs/mpl for documentation.
13
14// $Id: bitor.hpp 63520 2010-07-02 08:59:55Z agurtovoy $
15// $Date: 2010-07-02 18:59:55 +1000 (Fri, 02 Jul 2010) $
16// $Revision: 63520 $
17
18// agurt, 23/jan/10: workaround a conflict with <iso646.h> header's 
19// macros, see http://tinyurl.com/ycwdxco; 'defined(bitor)'
20// has to be checked in a separate condition, otherwise GCC complains 
21// about 'bitor' being an alternative token
22#if defined(_MSC_VER) 
23#ifndef __GCCXML__
24#if defined(bitor)
25#   pragma push_macro("bitor")
26#   undef bitor
27#   define bitor(x)
28#endif
29#endif
30#endif
31
32#define AUX778076_OP_NAME   bitor_
33#define AUX778076_OP_PREFIX bitor
34#define AUX778076_OP_TOKEN  |
35#include <boost/mpl/aux_/arithmetic_op.hpp>
36
37#if defined(_MSC_VER)
38#ifndef __GCCXML__
39#if defined(bitor)
40#   pragma pop_macro("bitor")
41#endif
42#endif
43#endif
44
45#endif // BOOST_MPL_BITOR_HPP_INCLUDED