std::chrono::operator<< (std::chrono::year_month_weekday)
From cppreference.com
< cpp | chrono | year month weekday
template <class CharT, class Traits> std::basic_ostream<CharT, Traits>& |
(since C++20) | |
Outputs a textual representation of ymwd
into os
, as if by os << ymwd.year() << '/' << ymwd.month() << '/' << ymwdl.weekday_indexed();
Return value
os
.
Notes
This operator<<
is primarily intended for debugging use. When used with non-default stream flags, the output may be surprising: