|
constexpr auto & | x () noexcept |
| Mutable vector component access; remember to call set_updated() if you change the value of the vector.
|
|
constexpr auto & | y () noexcept |
| Mutable vector component access; remember to call set_updated() if you change the value of the vector.
|
|
constexpr auto & | z () noexcept |
| Mutable vector component access; remember to call set_updated() if you change the value of the vector.
|
|
constexpr const auto & | x () const noexcept |
| Immutable vector component access.
|
|
constexpr const auto & | y () const noexcept |
| Immutable vector component access.
|
|
constexpr const auto & | z () const noexcept |
| Immutable vector component access.
|
|
constexpr const auto & | operator[] (std::size_t i) const noexcept |
|
constexpr auto & | operator[] (std::size_t i) noexcept |
|
void | set_updated () noexcept |
|
constexpr | occasional () noexcept |
| Default constructor; state is default initialized and updated is false.
|
|
constexpr | occasional (occasional< T > &&other) |
| Move constructor from another occasional .
|
|
constexpr | occasional (const occasional< T > &other) |
| Copy constructor from another occasional .
|
|
constexpr auto & | operator= (occasional< T > &&other) |
| Move assignment from another occasional .
|
|
constexpr auto & | operator= (const occasional< T > &other) |
| Copy assignment from another occasional .
|
|
constexpr | operator T& () noexcept |
| Mutable value access.
|
|
constexpr | operator const T & () const noexcept |
| Immutable value access.
|
|
constexpr | occasional (T &&t) noexcept |
| Move constructor from the underlying type.
|
|
constexpr | occasional (const T &t) noexcept |
| Copy constructor from the underlying type.
|
|
constexpr auto & | operator= (T &&t) noexcept |
| Move assignment from the underlying type.
|
|
constexpr auto & | operator= (const T &t) noexcept |
| Copy assignment from the underlying type.
|
|
constexpr T & | operator* () noexcept |
| Mutable dereference operator; provides access to the underlying state.
|
|
constexpr const T & | operator* () const noexcept |
| Constant dereference operator; provides access to the underlying state.
|
|
constexpr T * | operator-> () noexcept |
| Mutable member access operator; provides access to the members of the underlying state.
|
|
constexpr const T * | operator-> () const noexcept |
| Constant member access operator; provides access to the members of the underlying state.
|
|
constexpr T & | value () noexcept |
| Mutable value access.
|
|
constexpr const T & | value () const noexcept |
| Immutable value access.
|
|
constexpr void | reset () noexcept |
| Clear the updated flag. This can also be achieved by assignment from empty braces, e.g. x = {};
|
|