命名空间
变体
操作

std::chrono::operator<<(std::chrono::local_time)

来自 cppreference.cn
< cpp‎ | chrono‎ | local t
 
 
 
 
template< class CharT, class Traits, class Duration >

std::basic_ostream<CharT, Traits>&
    operator<<( std::basic_ostream<CharT, Traits>& os,

                const std::chrono::local_time<Duration>& tp );
(C++20 起)

tp 输出到流 os 中,如同 os << std::chrono::sys_time<Duration>(tp.time_since_epoch()); 一样。

[编辑] 返回值

os

[编辑] 参见

sys_time 执行流输出
(函数模板) [编辑]