std::chrono::local_t (3) - Linux Man Pages

std::chrono::local_t: std::chrono::local_t


std::chrono::local_t - std::chrono::local_t


Defined in header <chrono>
struct local_t {}; (since C++20)

The class local_t is a pseudo-clock that is used as the first template argument to std::chrono::time_point to indicate that the time point represents local time with respect of a not-yet-specified time zone. local_time supports streaming and the full set of time point arithmetic.

Time point family

Defined in namespace std::chrono
template<class Duration> (since C++20)
using local_time = std::chrono::time_point<std::chrono::local_t, Duration>;
using local_seconds = local_time<std::chrono::seconds>; (since C++20)

operator<<_(std::chrono::local_time) performs stream output on a local_time
                                      (function template)

from_stream_(std::chrono::local_time) parses a local_time from a stream according to the provided format
                                      (function template)

to_stream_(std::chrono::local_time) outputs a local_time into a stream according to the provided format
                                      (function template)