Add format API scaffolding
The new `detail::format` and `detail::format_to` functions enable format-based outputs in the new unit testing framework and gives us the option to re-write the logging API without relying on the `std::ostream` interfaces. These functions provide a thin wrapper around `std::format`. In case the standard version is not available, we fall back to a minimal implementation that delegates formatting of floats and integers to `snprintf`.
Showing
This diff is collapsed.
Please register or sign in to comment