tetl 0.1.0
Embedded Template Library
|
The etl::chrono::duration_values type defines three common durations. More...
#include <duration_values.hpp>
Static Public Member Functions | |
static constexpr auto | max () -> Rep |
Returns the special duration value max. | |
static constexpr auto | min () -> Rep |
Returns the smallest possible representation. | |
static constexpr auto | zero () -> Rep |
Returns a zero-length representation. | |
The etl::chrono::duration_values type defines three common durations.
The zero, min, and max methods in etl::chrono::duration forward their work to these methods. This type can be specialized if the representation Rep requires a specific implementation to return these duration objects.
|
inlinestaticnodiscardconstexpr |
Returns the special duration value max.
|
inlinestaticnodiscardconstexpr |
Returns the smallest possible representation.
|
inlinestaticnodiscardconstexpr |
Returns a zero-length representation.