Chris@16
|
1 /*==============================================================================
|
Chris@16
|
2 Copyright (c) 2005-2010 Joel de Guzman
|
Chris@16
|
3 Copyright (c) 2010 Thomas Heller
|
Chris@16
|
4
|
Chris@16
|
5 Distributed under the Boost Software License, Version 1.0. (See accompanying
|
Chris@16
|
6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
7 ==============================================================================*/
|
Chris@16
|
8 #ifndef BOOST_PHOENIX_OPERATOR_BITWISE_HPP
|
Chris@16
|
9 #define BOOST_PHOENIX_OPERATOR_BITWISE_HPP
|
Chris@16
|
10
|
Chris@16
|
11 #include <boost/phoenix/operator/detail/define_operator.hpp>
|
Chris@16
|
12 #include <boost/phoenix/core/expression.hpp>
|
Chris@16
|
13 #include <boost/proto/operators.hpp>
|
Chris@16
|
14
|
Chris@16
|
15 namespace boost { namespace phoenix
|
Chris@16
|
16 {
|
Chris@16
|
17 BOOST_PHOENIX_UNARY_OPERATORS(
|
Chris@16
|
18 (complement)
|
Chris@16
|
19 )
|
Chris@16
|
20
|
Chris@16
|
21 BOOST_PHOENIX_BINARY_OPERATORS(
|
Chris@16
|
22 (bitwise_and_assign)
|
Chris@16
|
23 (bitwise_or_assign)
|
Chris@16
|
24 (bitwise_xor_assign)
|
Chris@16
|
25 (shift_left_assign)
|
Chris@16
|
26 (shift_right_assign)
|
Chris@16
|
27 (bitwise_and)
|
Chris@16
|
28 (bitwise_or)
|
Chris@16
|
29 (bitwise_xor)
|
Chris@16
|
30 (shift_left)
|
Chris@16
|
31 (shift_right)
|
Chris@16
|
32 )
|
Chris@16
|
33
|
Chris@16
|
34 using proto::exprns_::operator~;
|
Chris@16
|
35 using proto::exprns_::operator&=;
|
Chris@16
|
36 using proto::exprns_::operator|=;
|
Chris@16
|
37 using proto::exprns_::operator^=;
|
Chris@16
|
38 using proto::exprns_::operator<<=;
|
Chris@16
|
39 using proto::exprns_::operator>>=;
|
Chris@16
|
40 using proto::exprns_::operator&;
|
Chris@16
|
41 using proto::exprns_::operator|;
|
Chris@16
|
42 using proto::exprns_::operator^;
|
Chris@16
|
43 using proto::exprns_::operator<<;
|
Chris@16
|
44 using proto::exprns_::operator>>;
|
Chris@16
|
45 }}
|
Chris@16
|
46
|
Chris@16
|
47 #include <boost/phoenix/operator/detail/undef_operator.hpp>
|
Chris@16
|
48
|
Chris@16
|
49 #endif
|