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