Template Struct AddAssignable
Defined in File t8_operators.hxx
Inheritance Relationships
Base Type
public t8_crtp_operator< TUnderlying, AddAssignable >(Template Struct t8_crtp_operator)
Struct Documentation
-
template<typename TUnderlying>
struct AddAssignable : public t8_crtp_operator<TUnderlying, AddAssignable> A template for add-assignable types.
Provides the += operator.
- Template Parameters:
TUnderlying –
Public Functions
-
inline constexpr TUnderlying &operator+=(const TUnderlying &other) noexcept
Add-assign the value of other to the underlying type.
- Parameters:
other – [in] The value to add to the underlying type.
- Returns:
The underlying type after the addition.