![]() |
OR-Tools
9.3
|
Definition at line 138 of file strong_integers.h.
Public Types | |
| typedef int | ValueType |
| typedef StrongIndex< StrongIndexName > | ThisType |
Public Member Functions | |
| struct | ABSL_DEPRECATED ("Use absl::Hash instead") Hasher |
| constexpr | StrongIndex () |
| constexpr | StrongIndex (int value) |
| StrongIndex & | operator= (int arg_value) |
| constexpr int | value () const |
| template<typename ValType > | |
| constexpr ValType | value () const |
| constexpr const ThisType | operator+ () const |
| constexpr const ThisType | operator- () const |
| STRONG_ASSIGNMENT_OP (StrongIndex, int,+=) | |
| STRONG_ASSIGNMENT_OP (StrongIndex, int, -=) | |
Static Public Member Functions | |
| static constexpr absl::string_view | TypeName () |
Public Attributes | |
| INCREMENT_AND_DECREMENT_OPERATORS | |
| typedef StrongIndex<StrongIndexName> ThisType |
Definition at line 141 of file strong_integers.h.
| typedef int ValueType |
Definition at line 140 of file strong_integers.h.
|
inlineconstexpr |
Definition at line 153 of file strong_integers.h.
|
inlineconstexpr |
Definition at line 156 of file strong_integers.h.
|
inline |
Definition at line 143 of file strong_integers.h.
|
inlineconstexpr |
Definition at line 174 of file strong_integers.h.
|
inlineconstexpr |
Definition at line 175 of file strong_integers.h.
|
inline |
Definition at line 159 of file strong_integers.h.
| STRONG_ASSIGNMENT_OP | ( | StrongIndex< StrongIndexName > | , |
| int | , | ||
| - | |||
| ) |
| STRONG_ASSIGNMENT_OP | ( | StrongIndex< StrongIndexName > | , |
| int | , | ||
| + | |||
| ) |
|
inlinestaticconstexpr |
Definition at line 143 of file strong_integers.h.
|
inlineconstexpr |
Definition at line 167 of file strong_integers.h.
|
inlineconstexpr |
Definition at line 170 of file strong_integers.h.
| INCREMENT_AND_DECREMENT_OPERATORS |
Definition at line 177 of file strong_integers.h.