Template Struct Subtractable
Defined in File t8_operators.hxx
Inheritance Relationships
Base Type
public t8_crtp_operator< TUnderlying, Subtractable >(Template Struct t8_crtp_operator)
Struct Documentation
-
template<typename TUnderlying>
struct Subtractable : public t8_crtp_operator<TUnderlying, Subtractable> A template for subtractable types.
Provides the - operator.
- Template Parameters:
TUnderlying –
Public Functions
-
inline constexpr TUnderlying operator-(const TUnderlying &other) const noexcept
Subtract the value of other from the underlying type.
- Parameters:
other – [in] The value to subtract from the underlying type.
- Returns:
The underlying type after the subtraction.