123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- #ifndef BOOST_LAMBDA_OPERATOR_ACTIONS_HPP
- #define BOOST_LAMBDA_OPERATOR_ACTIONS_HPP
- namespace boost {
- namespace lambda {
- class plus_action {};
- class minus_action {};
- class multiply_action {};
- class divide_action {};
- class remainder_action {};
- class leftshift_action {};
- class rightshift_action {};
- class xor_action {};
- class and_action {};
- class or_action {};
- class not_action {};
- class less_action {};
- class greater_action {};
- class lessorequal_action {};
- class greaterorequal_action {};
- class equal_action {};
- class notequal_action {};
- class increment_action {};
- class decrement_action {};
- class addressof_action {};
-
- class contentsof_action {};
- template <class Action> class arithmetic_action;
- template <class Action> class bitwise_action;
- template <class Action> class logical_action;
- template <class Action> class relational_action;
- template <class Action> class arithmetic_assignment_action;
- template <class Action> class bitwise_assignment_action;
- template <class Action> class unary_arithmetic_action;
- template <class Action> class pre_increment_decrement_action;
- template <class Action> class post_increment_decrement_action;
-
-
- template <class Act> struct is_protectable<arithmetic_action<Act> > {
- BOOST_STATIC_CONSTANT(bool, value = true);
- };
- template <class Act> struct is_protectable<bitwise_action<Act> > {
- BOOST_STATIC_CONSTANT(bool, value = true);
- };
- template <class Act> struct is_protectable<logical_action<Act> > {
- BOOST_STATIC_CONSTANT(bool, value = true);
- };
- template <class Act> struct is_protectable<relational_action<Act> > {
- BOOST_STATIC_CONSTANT(bool, value = true);
- };
- template <class Act>
- struct is_protectable<arithmetic_assignment_action<Act> > {
- BOOST_STATIC_CONSTANT(bool, value = true);
- };
- template <class Act> struct is_protectable<bitwise_assignment_action<Act> > {
- BOOST_STATIC_CONSTANT(bool, value = true);
- };
- template <class Act> struct is_protectable<unary_arithmetic_action<Act> > {
- BOOST_STATIC_CONSTANT(bool, value = true);
- };
- template <class Act>
- struct is_protectable<pre_increment_decrement_action<Act> > {
- BOOST_STATIC_CONSTANT(bool, value = true);
- };
- template <class Act> struct
- is_protectable<post_increment_decrement_action<Act> > {
- BOOST_STATIC_CONSTANT(bool, value = true);
- };
- template <> struct is_protectable<other_action<addressof_action> > {
- BOOST_STATIC_CONSTANT(bool, value = true);
- };
- template <> struct is_protectable<other_action<contentsof_action> > {
- BOOST_STATIC_CONSTANT(bool, value = true);
- };
- template<> struct is_protectable<other_action<subscript_action> > {
- BOOST_STATIC_CONSTANT(bool, value = true);
- };
- template<> struct is_protectable<other_action<assignment_action> > {
- BOOST_STATIC_CONSTANT(bool, value = true);
- };
-
- }
- }
- #endif
|