|
| ~Index ()=default |
| Destructor.
|
|
constexpr | Index () noexcept |
| Construct with a value of 0.
|
|
constexpr | Index (const MathSize value) noexcept |
| Construct with given value.
|
|
constexpr | Index (Index< T > &&rhs) noexcept=default |
| Move constructor.
|
|
constexpr | Index (const Index< T > &rhs) noexcept=default |
| Copy constructor.
|
|
Index< T > & | operator= (Index< T > &&rhs) noexcept=default |
| Move assignment.
|
|
Index< T > & | operator= (const Index< T > &rhs) noexcept=default |
| Copy assignment.
|
|
constexpr bool | operator== (const Index< T > &rhs) const noexcept |
| Equality operator.
|
|
constexpr bool | operator!= (const Index< T > &rhs) const noexcept |
| Not equals operator.
|
|
constexpr MathSize | asValue () const noexcept |
| Returns value as a MathSize.
|
|
constexpr bool | operator< (const Index< T > rhs) const noexcept |
| Less than operator.
|
|
constexpr bool | operator> (const Index< T > rhs) const noexcept |
| Greater than operator.
|
|
constexpr bool | operator<= (const Index< T > rhs) const noexcept |
| Less than or equal to operator.
|
|
constexpr bool | operator>= (const Index< T > rhs) const noexcept |
| Greater than or equal to operator.
|
|
constexpr Index< T > | operator+ (const Index< T > rhs) const noexcept |
| Addition operator.
|
|
constexpr Index< T > | operator- (const Index< T > rhs) const noexcept |
| Subtraction operator.
|
|
constexpr Index< T > & | operator+= (const Index< T > rhs) noexcept |
| Addition assignment operator.
|
|
constexpr Index< T > & | operator-= (const Index< T > rhs) noexcept |
| Subtraction assignment operator.
|
|
template<class T>
class fs::data::Index< T >
A wrapper around a MathSize to ensure correct types are used.
- Template Parameters
-
T | The derived class that this Index represents. |