|
libcaf
0.16.3
|
Converts the ratio Num/Denom to a time_unit if the ratio describes seconds, milliseconds, microseconds, or minutes.
More...
#include <duration.hpp>
Converts the ratio Num/Denom to a time_unit if the ratio describes seconds, milliseconds, microseconds, or minutes.
Minutes are mapped to time_unit::seconds, any unrecognized ratio to time_unit::invalid.
1.8.16