|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
(optional*) | ||||
(optional*) | ||||
| Time point I/O | ||||
Defined in header <chrono> | ||
using file_clock=/* see below */; | (since C++20) | |
std::chrono::file_clock is an alias for the clock used forstd::filesystem::file_time_type. Its epoch is unspecified.
file_clock meets theTrivialClock requirements.
Contents |
Defined in namespace std::chrono | ||
template<class Duration> using file_time=std::chrono::time_point<std::chrono::file_clock, Duration>; | (since C++20) | |
performs stream output on afile_time(function template)[edit] | |
parses afile_time from a stream according to the provided format(function template)[edit] | |
formatting support forfile_time(class template specialization)[edit] |
| Member type | Definition |
rep | signed arithmetic type representing the number of ticks in the clock's duration |
period | astd::ratio type representing the tick period of the clock, in seconds |
duration | std::chrono::duration<rep, period>, capable of representing negative durations |
time_point | std::chrono::time_point<std::chrono::file_clock> |
constexpr bool is_steady [static] | true if the time between ticks is always constant, i.e. calls tonow() return values that increase monotonically even in case of some external clock adjustment, otherwisefalse (public static member constant) |
file_clock provides exactly one of the following two pairs of static member functions:
to_utc andfrom_utc; orto_sys andfrom_sys.[static] | returns astd::chrono::time_point representing the current point in time (public static member function)[edit] |
[static](optional) | converts betweenfile_time andutc_time(public static member function)[edit] |
[static](optional) | converts betweenfile_time andsys_time(public static member function)[edit] |