An Extraterrestrial Guide to C++ Formatting—Victor Zverovich
The future of now.
An Extraterrestrial Guide to C++ Formatting by Victor Zverovich
From the article:
Consider the following use case: you are developing the Enteropia-first Sepulka-as-a-Service (SaaS) platform and have a server code written in C++ that checks the value of sepulka’s squishiness received over the wire and, if the value is invalid, logs it and returns an error to the client. Squishiness is passed as a single byte and you want to format it as a 2-digit hexadecimal integer, because that is, of course, the Ardrite National Standards Institute (ANSI) standard representation of squishiness. Let’s implement the logging part using different formatting facilities provided by (...)