comparison.hpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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. #include <boost/proto/fusion.hpp> // Added to solve bug 6268
  13. namespace boost { namespace phoenix
  14. {
  15. BOOST_PHOENIX_BINARY_OPERATORS(
  16. (equal_to)
  17. (not_equal_to)
  18. (less_equal)
  19. (greater_equal)
  20. (less)
  21. (greater)
  22. )
  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. using proto::exprns_::operator>;
  29. }}
  30. #include <boost/phoenix/operator/detail/undef_operator.hpp>
  31. #endif