std::chrono::operator<<(std::chrono::file_time) (3) - Linux Manuals

std::chrono::operator<<(std::chrono::file_time): std::chrono::operator<<(std::chrono::file_time)

NAME

std::chrono::operator<<(std::chrono::file_time) - std::chrono::operator<<(std::chrono::file_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::file_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::file_time) outputs a file_time into a stream according to the provided format
                                   (function template)
(C++20)