Template Struct PrefixDecrementable
Defined in File t8_operators.hxx
Inheritance Relationships
Base Type
public t8_crtp_operator< TUnderlying, PrefixDecrementable >(Template Struct t8_crtp_operator)
Struct Documentation
-
template<typename TUnderlying>
struct PrefixDecrementable : public t8_crtp_operator<TUnderlying, PrefixDecrementable> A template for decrementable types. Provides the — operator.
Note
The operator is a prefix operator.
- Template Parameters:
TUnderlying –
Public Functions
-
inline TUnderlying &operator--() noexcept
Decrement the underlying type.
- Returns:
The underlying type after the decrement.