|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
file_clock::to_sysfile_clock::from_sys (optional*) | ||||
(optional*) | ||||
| Time point I/O | ||||
template<class Duration> staticstd::chrono::sys_time</*see below*/> | (1) | (since C++20) (optional*) |
template<class Duration> staticstd::chrono::file_time</*see below*/> | (2) | (since C++20) (optional*) |
file_timet to asys_time representing the same point in time.sys_timet to afile_time representing the same point in time.The duration of the return type is computed fromDuration in an unspecified manner.
These function templates are optional: an implementation may choose to instead provideto_utc() andfrom_utc().
Contents |
sys_time representing the same point in time as the argument.file_time representing the same point in time as the argument.User code should usually usestd::chrono::clock_cast, which provides a generic interface to convert time points between clocks, rather than call these functions directly.
| This section is incomplete Reason: no example |
[static](optional) | converts betweenfile_time andutc_time(public static member function)[edit] |
(C++20) | convert time points of one clock to another (function template)[edit] |