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

std::chrono::operator<<(std::chrono::zoned_time): std::chrono::operator<<(std::chrono::zoned_time)

NAME

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

Synopsis


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


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

Return value


os.

See also


          outputs a zoned_time into a stream according to the provided format
to_stream (function template)