Template Struct Dividable

Inheritance Relationships

Base Type

Struct Documentation

template<typename TUnderlying>
struct Dividable : public t8_crtp_operator<TUnderlying, Dividable>

A template for dividable types. Provides the / operator.

Template Parameters:

TUnderlying

Public Functions

inline constexpr TUnderlying operator/(const TUnderlying &other) const noexcept

Divide the underlying type by other.

Parameters:

other[in] The value to divide the underlying type by.

Returns:

The underlying type after the division.