Functions | |
template<typename S , typename T > | |
T | setter_wrap (S &&setter, T value) |
template<typename G , typename S > | |
auto | setter_increment_wrap (G &&getter, S &&setter) |
template<typename G , typename S > | |
auto | setter_post_increment_wrap (G &&getter, S &&setter) |
template<typename G , typename S > | |
auto | setter_decrement_wrap (G &&getter, S &&setter) |
template<typename G , typename S > | |
auto | setter_post_decrement_wrap (G &&getter, S &&setter) |
auto System::WithLambda::setter_decrement_wrap | ( | G && | getter, |
S && | setter | ||
) |
Porter translates C#'s decrement expressions targeting class' property that has setter and getter defined, into invocation of this function.
getter | Reference to a function object representing property's getter |
setter | Reference to a function object representing property's setter |
G | The type of the getter function object |
S | The type of the setter function object |
auto System::WithLambda::setter_increment_wrap | ( | G && | getter, |
S && | setter | ||
) |
Porter translates C#'s increment expressions targeting class' property that has setter and getter defined, into invocation of this function.
getter | Reference to a function object representing property's getter |
setter | Reference to a function object representing property's setter |
G | The type of the getter function object |
S | The type of the setter function object |
auto System::WithLambda::setter_post_decrement_wrap | ( | G && | getter, |
S && | setter | ||
) |
Porter translates C#'s post-decrement expressions targeting a class' property that has a setter and getter defined, into invocation of this function.
getter | Reference to a function object representing property's getter |
setter | Reference to a function object representing property's setter |
G | The type of the getter function object |
S | The type of the setter function object |
auto System::WithLambda::setter_post_increment_wrap | ( | G && | getter, |
S && | setter | ||
) |
Porter translates C#'s post-increment expressions targeting class' property that has setter and getter defined, into invocation of this function.
getter | Reference to a function object representing property's getter |
setter | Reference to a function object representing property's setter |
G | The type of the getter function object |
S | The type of the setter function object |
T System::WithLambda::setter_wrap | ( | S && | setter, |
T | value | ||
) |
Wrapper function to wrap calling setter method and returning set value (normally, set methods do not return values).
S | Setter type (lambda). |
T | Value type. |
setter | Setter lambda. |
value | Value to set and return. |