self.hpp 975 B

1234567891011121314151617181920212223242526272829303132
  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_SELF_HPP
  8. #define BOOST_PHOENIX_OPERATOR_SELF_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. (address_of)
  16. (dereference)
  17. )
  18. BOOST_PHOENIX_BINARY_OPERATORS(
  19. (assign)
  20. (subscript)
  21. )
  22. using proto::exprns_::operator&;
  23. using proto::exprns_::operator*;
  24. }}
  25. #include <boost/phoenix/operator/detail/undef_operator.hpp>
  26. #endif