|
tetl 0.1.0
Embedded Template Library
|
The etl::chrono::treat_as_floating_point trait helps determine if a duration can be converted to another duration with a different tick period. More...
#include <treat_as_floating_point.hpp>
The etl::chrono::treat_as_floating_point trait helps determine if a duration can be converted to another duration with a different tick period.
Implicit conversions between two durations normally depends on the tick period of the durations. However, implicit conversions can happen regardless of tick period if etl::chrono::treat_as_floating_point<Rep>::value == true.