Template Struct Addable
Defined in File t8_operators.hxx
Inheritance Relationships
Base Type
public t8_crtp_operator< TUnderlying, Addable >(Template Struct t8_crtp_operator)
Derived Type
public T8Type< size_t, t8_geometry_hash_tag, Addable, Subtractable, AddAssignable, Multipliable, Dividable, EqualityComparable, Hashable >(Template Class T8Type)
Struct Documentation
-
template<typename TUnderlying>
struct Addable : public t8_crtp_operator<TUnderlying, Addable> A template for addable types.
Provides the + operator.
- Template Parameters:
TUnderlying –
Public Functions
-
inline constexpr TUnderlying operator+(const TUnderlying &other) const noexcept
Add 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.