std::chrono:: operator<< (std::chrono::local_time)
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Time point I/O | ||||
|
operator<<
|
||||
|
template
<
class
CharT,
class
Traits,
class
Duration
>
std::
basic_ostream
<
CharT, Traits
>
&
|
(自 C++20 起) | |
将 tp 输出到流 os 中,如同执行 os << std:: chrono :: sys_time < Duration > ( tp. time_since_epoch ( ) ) ; 。
返回值
os
参见
对
sys_time
执行流输出操作
(函数模板) |