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

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

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

(C++20)
outputs a gps_time into a stream according to the provided format
(function template)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/chrono/gps_clock/operator_ltlt