|
ADS
Algorithms and Data Structures
|
the attribute A of the item of handle \( h \) changed from from to to More...
#include <ADS/Modification.h>
Public types | |
| using | attribute = A |
| using | handle_type = H |
| < the attribute | |
| using | value_type = V |
| < the handle | |
Public member functions | |
| constexpr unsigned | direction (void) const |
| effect::up or effect::down by the order of from and to, 0 if they are equivalent, both if V has no order | |
| bool | operator== (const Changed &) const =default |
| whether the two events are the same | |
Public attributes | |
| H | h |
| < the value | |
| V | from |
| the value before | |
| V | to |
| the value after | |
Static public attributes | |
| static constexpr unsigned | effects = effect::up | effect::down |
| both | |
| static constexpr Role | role = Role::Change |
| a change | |
the attribute A of the item of handle \( h \) changed from from to to
| using ADS::mod::Changed< A, H, V >::attribute = A |
| using ADS::mod::Changed< A, H, V >::handle_type = H |
< the attribute
| using ADS::mod::Changed< A, H, V >::value_type = V |
< the handle
|
inlinenodiscardconstexpr |
effect::up or effect::down by the order of from and to, 0 if they are equivalent, both if V has no order
|
default |
whether the two events are the same
|
staticconstexpr |
both
| V ADS::mod::Changed< A, H, V >::from |
the value before
| H ADS::mod::Changed< A, H, V >::h |
< the value
the handle
|
staticconstexpr |
a change
| V ADS::mod::Changed< A, H, V >::to |
the value after