Template Function iox::units::operator*
Defined in File duration.hpp
Function Documentation
-
template<typename T>
constexpr Duration iox::units::operator*(const T &lhs, const Duration &rhs) noexcept creates Duration object by multiplying object T with a duration
- Attention
Since negative durations are not allowed, the duration will be clamped to 0
- Template Parameters:
T – is an arithmetic type for the multiplicator
- Parameters:
lhs – [in] is the multiplicator
rhs – [in] is the multiplicant
- Returns:
a new Duration object