Imported Upstream version 1.57.0
[platform/upstream/boost.git] / boost / phoenix / operator / comparison.hpp
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_COMPARISON_HPP
9 #define BOOST_PHOENIX_OPERATOR_COMPARISON_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 #include <boost/proto/fusion.hpp> // Added to solve bug 6268
15
16 namespace boost { namespace phoenix
17 {
18     BOOST_PHOENIX_BINARY_OPERATORS(
19         (equal_to)
20         (not_equal_to)
21         (less_equal)
22         (greater_equal)
23         (less)
24         (greater)
25     )
26     using proto::exprns_::operator==;
27     using proto::exprns_::operator!=;
28     using proto::exprns_::operator<=;
29     using proto::exprns_::operator>=;
30     using proto::exprns_::operator<;
31     using proto::exprns_::operator>;
32 }}
33
34 #include <boost/phoenix/operator/detail/undef_operator.hpp>
35
36 #endif