3 ms·
You still need generic code to link the enum type to its format string, for example for use in std::format or std::ostream. Nothing really difficult, normally
by gpderetta 2y ago
You still need generic code to link the enum type to its format string, for example for use in std::format or std::ostream.
Nothing really difficult, normally all of this is done by hand, which is tedious and error prone, or incorporated in a macro. It would just be nice if there was a standard provided turn-key solution to the problem.