Template Struct Multipliable

Inheritance Relationships

Base Type

Struct Documentation

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

A template for multipliable types.

Provides the * operator.

Template Parameters:

TUnderlying

Public Functions

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

Multiply the underlying type with other.

Parameters:

other[in] The value to multiply the underlying type with.

Returns:

The underlying type after the multiplication.