std::chrono::operator<<(std::chrono::sys_time)
来自cppreference.com
                    
                                        
                    < cpp | chrono | system clock
                    
                                                            
                    |   template <class CharT, class Traits, class Duration> std::basic_ostream<CharT, Traits>&  | 
(1) | (C++20 起) | 
|   template <class CharT, class Traits, class Duration> std::basic_ostream<CharT, Traits>&  | 
(2) | (C++20 起) | 
输出 tp 到流 os 中。
1) 等价于:
auto const dp = std::chrono::floor<std::chrono::days>(tp); os << std::format(os.getloc(), STATICALLY_WIDEN<CharT>("{} {}"), std::chrono::year_month_day(dp), std::chrono::time_of_day(tp - dp));
其中 STATICALLY_WIDEN<CharT>("{} {}") 若 CharT 为 char 则为 "{} {}" ,而若 CharT 为 wchar_t 则为 L"{} {}" 。
2) 等价于 os << std::chrono::year_month_day(tp);
返回值
os 。
参阅
   std::formatter 的特化,按照提供的格式格式化 sys_time  (类模板特化)  | |
|    (C++20)  | 
  在新 string 中存储参数的格式化表示  (函数模板)  | 
  输出 year_month_day 到流中 (函数模板)  |