std::chrono...local_time)(3)
std::chrono...local_time)(3) π
okay bestie, welcome to the C++ Standard Libary manual page β yes, that's the manual name, and we are respecting it β¨
πΈ NAME πΈ
std::chrono::operator<<(std::chrono::local_time) β std::chrono::operator<<(std::chrono::local_time)
That's the whole name, periodt. π
π Synopsis π
Here's the signature, bestie β copy it exactly, no autocorrect π
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::local_time<Duration>& tp );
So since C++20, this operator outputs tp into the stream os, as if by os << std::chrono::sys_time<Duration>(tp.time_since_epoch());. That's the vibe, no cap. π¦
π Return value π
os
That's it. It returns the stream. Iconic, lowkey perfect, no notes. π«Ά
π¦ See also π¦
operator<<(std::chrono::sys_time)β performs stream output on asys_time(C++20) (function template). iykyk π
xoxo, your Unix bestie signing off π β source: http://cppreference.com, version/date: 2024.06.10, page header fr fr: std::chrono...local_time)(3) π
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms