std::chrono...h_day_last)(3)
π NAME π
okay so welcome to the std::chrono::operator<<(std::chrono::month_day_last) page from the C++ Standard Libary manual β yes, that's the manual name, and we're keeping it exactly as printed, bestie π«Ά. The name is literally std::chrono::operator<<(std::chrono::month_day_last) - std::chrono::operator<<(std::chrono::month_day_last), because she said it twice and she's iconic π
.
β¨ Synopsis β¨
Defined in header <chrono>:
template< class CharT, class Traits >
std::basic_ostream<CharT, Traits>& (since C++20)
operator<<( std::basic_ostream<CharT, Traits>& os,
const std::chrono::month_day_last& mdl );
Outputs a textual representation of mdl into os, as if by:
os << std::format(os.getloc(), STATICALLY_WIDEN<CharT>("{:L}/last"), mdl.month());
where STATICALLY_WIDEN<CharT>("{:L}/last") is "{:L}/last" if CharT is char, and L"{:L}/last" if CharT is wchar_t.
π Return value π
os β yes bestie, she returns the stream, periodt β¨.
π Defect reports π
The following behavior-changing defect reports were applied retroactively to previously published C++ standards:
P2372R3β Applied to:C++20; behavior as published: the given locale was used by default; correct behavior:Lis needed to use the given locale.
π See also π
format(C++20) β stores formatted representation of the arguments in a new string (function template)std::formatter<std::chrono::month_day>(C++20) β formatting support formonth_day(class template specialization)
catch you later, bestie π«Ά β source/version/date: http://cppreference.com Β· 2024.06.10 Β· std::chrono...h_day_last)(3). mwah π
π¦ 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