| 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 | |
| 15 | namespace boost { namespace phoenix |
| 16 | { |
| 17 | BOOST_PHOENIX_BINARY_OPERATORS( |
| 18 | (equal_to) |
| 19 | (not_equal_to) |
| 20 | (less_equal) |
| 21 | (greater_equal) |
| 22 | (less) |
| 23 | (greater) |
| 24 | ) |
| 25 | using proto::exprns_::operator==; |
| 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 | }} |
| 32 | |
| 33 | #include <boost/phoenix/operator/detail/undef_operator.hpp> |
| 34 | |
| 35 | #endif |
| 36 |
