std::chrono::operator<<(std::chrono::month)
Min standard notice:
Header: <chrono>
If !m.ok(), inserts unsigned(m) followed by " is not a valid month" to os. Otherwise, forms a std::basic_string
# Declarations
template< class CharT, class Traits >
std::basic_ostream<CharT, Traits>&
operator<<( std::basic_ostream<CharT, Traits>& os, const std::chrono::month& m );
(since C++20)
# Return value
os
# Notes
This operator« is primarily intended for debugging use. For control over formatting, use std::format.
# Defect reports
| DR | Applied to | Behavior as published | Correct behavior |
|---|---|---|---|
| P2372R3 | C++20 | the given locale was used by default | L is needed to use the given locale |