More Details to Formatting User-Defined Types in C++20
Implementing a formatter for a user-defined type having more than one value in C++20 is challenging. This post is the 5th post in my miniseries about formatting in C++20. Read the previous ones here: A Formatter for More Values Point is a class with three members. // formatPoint.cpp #include <format> #include <iostream> #include <string> struct […]