std::chrono::operator<<(std::chrono::utc_time) (3) - Linux Man Pages

std::chrono::operator<<(std::chrono::utc_time): std::chrono::operator<<(std::chrono::utc_time)

NAME

std::chrono::operator<<(std::chrono::utc_time) - std::chrono::operator<<(std::chrono::utc_time)

Synopsis


template <class CharT, class Traits, class Duration>
std::basic_ostream<CharT, Traits>& (since C++20)
operator<<(std::basic_ostream<CharT, Traits>& os,
const std::chrono::utc_time<Duration>& tp);


Outputs tp into the stream os, as if by std::chrono::to_stream(os, fmt, tp), where fmt is a string containing "%F %T" widened to CharT.

Return value


os.

See also


to_stream_(std::chrono::utc_time) outputs a utc_time into a stream according to the provided format
                                  (function template)
(C++20)