]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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_LOGICAL_HPP | |
9 | #define BOOST_PHOENIX_OPERATOR_LOGICAL_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 | ||
18 | BOOST_PHOENIX_UNARY_OPERATORS( | |
19 | (logical_not) | |
20 | ) | |
21 | BOOST_PHOENIX_BINARY_OPERATORS( | |
22 | (logical_and) | |
23 | (logical_or) | |
24 | ) | |
25 | ||
26 | using proto::exprns_::operator!; | |
27 | using proto::exprns_::operator&&; | |
28 | using proto::exprns_::operator||; | |
29 | }} | |
30 | ||
31 | #include <boost/phoenix/operator/detail/undef_operator.hpp> | |
32 | ||
33 | #endif |