P4267R1 — Formatting Enums, Upon Reflection
Victor Zverovich
LEWGSG16
Revisions R1Oct 2026R0Sep 2026
Formatting an enumeration as its underlying type currently requires either a formatter specialization or an explicit conversion at every call site. [P3070] proposed `format_as`, an ADL-based customization point that makes this more convenient and allows the conversion to be performed before type erasure.