logical.hpp 1010 B

123456789101112131415161718192021222324252627282930313233
  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_LOGICAL_HPP
  8. #define BOOST_PHOENIX_OPERATOR_LOGICAL_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_UNARY_OPERATORS(
  15. (logical_not)
  16. )
  17. BOOST_PHOENIX_BINARY_OPERATORS(
  18. (logical_and)
  19. (logical_or)
  20. )
  21. using proto::exprns_::operator!;
  22. using proto::exprns_::operator&&;
  23. using proto::exprns_::operator||;
  24. }}
  25. #include <boost/phoenix/operator/detail/undef_operator.hpp>
  26. #endif