comparison.hpp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*==============================================================================
  2. Copyright (c) 2005-2010 Joel de Guzman
  3. Copyright (c) 2010 Thomas Heller
  4. Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. ==============================================================================*/
  7. #ifndef BOOST_PHOENIX_OPERATOR_COMPARISON_HPP
  8. #define BOOST_PHOENIX_OPERATOR_COMPARISON_HPP
  9. #include <boost/phoenix/operator/detail/define_operator.hpp>
  10. #include <boost/phoenix/core/expression.hpp>
  11. #include <boost/proto/operators.hpp>
  12. namespace boost { namespace phoenix
  13. {
  14. BOOST_PHOENIX_BINARY_OPERATORS(
  15. (equal_to)
  16. (not_equal_to)
  17. (less_equal)
  18. (greater_equal)
  19. (less)
  20. (greater)
  21. )
  22. using proto::exprns_::operator==;
  23. using proto::exprns_::operator!=;
  24. using proto::exprns_::operator<=;
  25. using proto::exprns_::operator>=;
  26. using proto::exprns_::operator<;
  27. using proto::exprns_::operator>;
  28. }}
  29. #include <boost/phoenix/operator/detail/undef_operator.hpp>
  30. #endif