All Formatter and Printing Customization Points
All Formatter and Printing Customization Points
A compact scan page for formatter specializations, format context types, and print-oriented customization hooks in modern C++.
All Formatter and Printing Customization Points
A compact scan page for formatter specializations, format context types, and print-oriented customization hooks in modern C++.
Use reference pages to confirm names, categories, nearby facilities, and the constraints that matter before writing or reviewing code.
std::formatter<T, CharT> specialization pointsstd::format_contextstd::wformat_contextstd::format_parse_contextstd::basic_format_contextstd::formatstd::vformatstd::format_tostd::formatted_sizestd::printstd::printlnparse() for format-spec parsingformat() for value emission into the format contextint main() {
// Pick one facility from this reference page.
// Write the smallest program that exercises its main precondition,
// complexity rule, or lifetime constraint before scaling up.
return 0;
}