2 ms·
Love that printInternal method. If the caller wants to map the enum to the string, make them know about a PrintStream that they have to instantiate. (And possi
by kazinator 3y ago
Love that printInternal method. If the caller wants to map the enum to the string, make them know about a PrintStream that they have to instantiate.
(And possibly write their own derivation, if there isn't one that captures output into a string.)