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

std::chrono::operator<<(std::chrono::gps_time): std::chrono::operator<<(std::chrono::gps_time)

NAME

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