File indexing completed on 2025-01-18 09:46:04
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_PHOENIX_OPERATOR_ARITHMETIC_HPP
0009 #define BOOST_PHOENIX_OPERATOR_ARITHMETIC_HPP
0010
0011 #include <boost/phoenix/operator/detail/define_operator.hpp>
0012 #include <boost/phoenix/core/expression.hpp>
0013 #include <boost/proto/operators.hpp>
0014
0015 namespace boost { namespace phoenix
0016 {
0017 BOOST_PHOENIX_UNARY_OPERATORS(
0018 (negate)
0019 (unary_plus)
0020 (pre_inc)
0021 (pre_dec)
0022 (post_inc)
0023 (post_dec)
0024 )
0025
0026 BOOST_PHOENIX_BINARY_OPERATORS(
0027 (plus_assign)
0028 (minus_assign)
0029 (multiplies_assign)
0030 (divides_assign)
0031 (modulus_assign)
0032 (plus)
0033 (minus)
0034 (multiplies)
0035 (divides)
0036 (modulus)
0037 )
0038
0039 using proto::exprns_::operator++;
0040 using proto::exprns_::operator--;
0041 using proto::exprns_::operator+=;
0042 using proto::exprns_::operator-=;
0043 using proto::exprns_::operator*=;
0044 using proto::exprns_::operator/=;
0045 using proto::exprns_::operator%=;
0046 using proto::exprns_::operator+;
0047 using proto::exprns_::operator-;
0048 using proto::exprns_::operator*;
0049 using proto::exprns_::operator/;
0050 using proto::exprns_::operator%;
0051 }}
0052
0053 #include <boost/phoenix/operator/detail/undef_operator.hpp>
0054
0055 #endif