|
|
ETL_CONSTEXPR14 | duration (const etl::chrono::duration< TRep, TPeriod > &other) ETL_NOEXCEPT |
|
template<typename TRep2> |
| ETL_CONSTEXPR14 | duration (const TRep2 &value_) ETL_NOEXCEPT |
|
template<typename TRep2, typename TPeriod2, typename etl::enable_if< etl::ratio_divide< TPeriod2, TPeriod >::den==1, int >::type = 0> |
| ETL_CONSTEXPR14 | duration (const etl::chrono::duration< TRep2, TPeriod2 > &other) ETL_NOEXCEPT |
|
ETL_CONSTEXPR14 etl::chrono::duration< TRep, TPeriod > | operator= (const etl::chrono::duration< TRep, TPeriod > &other) ETL_NOEXCEPT |
|
template<typename TRep2, typename TPeriod2> |
| ETL_CONSTEXPR14 etl::chrono::duration< TRep, TPeriod > | operator= (const etl::chrono::duration< TRep2, TPeriod2 > &other) ETL_NOEXCEPT |
|
ETL_CONSTEXPR14 TRep | count () const ETL_NOEXCEPT |
|
ETL_CONSTEXPR14 etl::common_type_t< duration > | operator+ () const ETL_NOEXCEPT |
|
ETL_CONSTEXPR14 etl::common_type_t< duration > | operator- () const ETL_NOEXCEPT |
|
ETL_NODISCARD ETL_CONSTEXPR14 etl::chrono::duration< TRep, TPeriod > | absolute () const ETL_NOEXCEPT |
|
ETL_CONSTEXPR14 duration & | operator++ () ETL_NOEXCEPT |
|
ETL_CONSTEXPR14 duration | operator++ (int) ETL_NOEXCEPT |
|
ETL_CONSTEXPR14 duration & | operator-- () ETL_NOEXCEPT |
|
ETL_CONSTEXPR14 duration | operator-- (int) ETL_NOEXCEPT |
|
ETL_CONSTEXPR14 duration & | operator+= (const duration< TRep, TPeriod > &d) ETL_NOEXCEPT |
|
ETL_CONSTEXPR14 duration & | operator-= (const duration< TRep, TPeriod > &d) ETL_NOEXCEPT |
|
ETL_CONSTEXPR14 duration & | operator*= (const TRep &r) ETL_NOEXCEPT |
|
ETL_CONSTEXPR14 duration & | operator/= (const TRep &r) ETL_NOEXCEPT |
|
ETL_CONSTEXPR14 duration & | operator%= (const TRep &r) ETL_NOEXCEPT |
|
ETL_CONSTEXPR14 duration & | operator%= (const duration< TRep, TPeriod > &d) ETL_NOEXCEPT |
| template<typename TRep2, typename TPeriod2> |
| ETL_CONSTEXPR14 int | compare (const duration< TRep2, TPeriod2 > &other) const ETL_NOEXCEPT |
template<typename TRep, typename TPeriod = etl::ratio<1>>
class etl::chrono::duration< TRep, TPeriod >
duration
template<typename TRep, typename TPeriod = etl::ratio<1>>
template<typename TRep2, typename TPeriod2>
| ETL_CONSTEXPR14 int etl::chrono::duration< TRep, TPeriod >::compare |
( |
const duration< TRep2, TPeriod2 > & | other | ) |
const |
|
inline |
Compare duration with another. if duration < other, returns -1 else if duration > other, returns 1 else returns 0