|
template<typename Rep1, typename Period1, typename Rep2, typename Period2> |
constexpr auto | operator!= (duration< Rep1, Period1 > const &lhs, duration< Rep2, Period2 > const &rhs) -> bool |
| Compares two durations. Checks if lhs and rhs are equal, i.e. the number of ticks for the type common to both durations are equal.
|
|
constexpr auto | operator""_h (long double h) -> etl::chrono::duration< long double, ratio< 3600, 1 > > |
| Forms a etl::chrono::duration literal representing hours. Floating-point literal, returns a floating-point duration equivalent to etl::chrono::hours.
|
|
constexpr auto | operator""_h (unsigned long long h) -> etl::chrono::hours |
| Forms a etl::chrono::duration literal representing hours. Integer literal, returns exactly etl::chrono::hours(hrs).
|
|
constexpr auto | operator""_min (long double m) -> etl::chrono::duration< long double, etl::ratio< 60, 1 > > |
| Forms a etl::chrono::duration literal representing minutes. Floating-point literal, returns a floating-point duration equivalent to etl::chrono::minutes.
|
|
constexpr auto | operator""_min (unsigned long long m) -> etl::chrono::minutes |
| Forms a etl::chrono::duration literal representing minutes. Integer literal, returns exactly etl::chrono::minutes(mins).
|
|
constexpr auto | operator""_ms (long double m) -> etl::chrono::duration< long double, etl::milli > |
| Forms a etl::chrono::duration literal representing milliseconds. Floating-point literal, returns a floating-point duration equivalent to etl::chrono::milliseconds.
|
|
constexpr auto | operator""_ms (unsigned long long m) -> etl::chrono::milliseconds |
| Forms a etl::chrono::duration literal representing milliseconds. Integer literal, returns exactly etl::chrono::milliseconds(mins).
|
|
constexpr auto | operator""_ns (long double m) -> etl::chrono::duration< long double, etl::nano > |
| Forms a etl::chrono::duration literal representing nanoseconds. Floating-point literal, returns a floating-point duration equivalent to etl::chrono::nanoseconds.
|
|
constexpr auto | operator""_ns (unsigned long long m) -> etl::chrono::nanoseconds |
| Forms a etl::chrono::duration literal representing nanoseconds. Integer literal, returns exactly etl::chrono::nanoseconds(mins).
|
|
constexpr auto | operator""_s (long double m) -> etl::chrono::duration< long double > |
| Forms a etl::chrono::duration literal representing seconds. Floating-point literal, returns a floating-point duration equivalent to etl::chrono::seconds.
|
|
constexpr auto | operator""_s (unsigned long long m) -> etl::chrono::seconds |
| Forms a etl::chrono::duration literal representing seconds. Integer literal, returns exactly etl::chrono::seconds(mins).
|
|
constexpr auto | operator""_us (long double m) -> etl::chrono::duration< long double, etl::micro > |
| Forms a etl::chrono::duration literal representing microseconds. Floating-point literal, returns a floating-point duration equivalent to etl::chrono::microseconds.
|
|
constexpr auto | operator""_us (unsigned long long m) -> etl::chrono::microseconds |
| Forms a etl::chrono::duration literal representing microseconds. Integer literal, returns exactly etl::chrono::microseconds(mins).
|
|
template<typename Rep1, typename Period1, typename Rep2, typename Period2> |
constexpr auto | operator% (duration< Rep1, Period1 > const &lhs, duration< Rep2, Period2 > const &rhs) -> common_type_t< duration< Rep1, Period1 >, duration< Rep2, Period2 > > |
| Performs basic arithmetic operations between two durations or between a duration and a tick count.
|
|
template<typename Rep1, typename Period1, typename Rep2, typename Period2> |
constexpr auto | operator+ (duration< Rep1, Period1 > const &lhs, duration< Rep2, Period2 > const &rhs) -> common_type_t< duration< Rep1, Period1 >, duration< Rep2, Period2 > > |
| Performs basic arithmetic operations between two durations or between a duration and a tick count.
|
|
template<typename Rep1, typename Period1, typename Rep2, typename Period2> |
constexpr auto | operator- (duration< Rep1, Period1 > const &lhs, duration< Rep2, Period2 > const &rhs) -> common_type_t< duration< Rep1, Period1 >, duration< Rep2, Period2 > > |
| Performs basic arithmetic operations between two durations or between a duration and a tick count.
|
|
template<typename Rep1, typename Period1, typename Rep2, typename Period2> |
constexpr auto | operator/ (duration< Rep1, Period1 > const &lhs, duration< Rep2, Period2 > const &rhs) -> common_type_t< Rep1, Rep2 > |
| Performs basic arithmetic operations between two durations or between a duration and a tick count.
|
|
template<typename Rep1, typename Period1, typename Rep2, typename Period2> |
constexpr auto | operator< (duration< Rep1, Period1 > const &lhs, duration< Rep2, Period2 > const &rhs) -> bool |
| Compares two durations. Compares lhs to rhs, i.e. compares the number of ticks for the type common to both durations.
|
|
template<typename Rep1, typename Period1, typename Rep2, typename Period2> |
constexpr auto | operator<= (duration< Rep1, Period1 > const &lhs, duration< Rep2, Period2 > const &rhs) -> bool |
| Compares two durations. Compares lhs to rhs, i.e. compares the number of ticks for the type common to both durations.
|
|
template<typename Rep1, typename Period1, typename Rep2, typename Period2> |
constexpr auto | operator== (duration< Rep1, Period1 > const &lhs, duration< Rep2, Period2 > const &rhs) -> bool |
| Compares two durations. Checks if lhs and rhs are equal, i.e. the number of ticks for the type common to both durations are equal.
|
|
template<typename Rep1, typename Period1, typename Rep2, typename Period2> |
constexpr auto | operator> (duration< Rep1, Period1 > const &lhs, duration< Rep2, Period2 > const &rhs) -> bool |
| Compares two durations. Compares lhs to rhs, i.e. compares the number of ticks for the type common to both durations.
|
|
template<typename Rep1, typename Period1, typename Rep2, typename Period2> |
constexpr auto | operator>= (duration< Rep1, Period1 > const &lhs, duration< Rep2, Period2 > const &rhs) -> bool |
| Compares two durations. Compares lhs to rhs, i.e. compares the number of ticks for the type common to both durations.
|
|