gavv / signal-estimator

Measure characteristics of a looped back signal.
MIT License
63 stars 18 forks source link

Port reporters and dumpers from printf() to {fmt} #59

Open gavv opened 10 months ago

gavv commented 10 months ago

Port TextReporter, JsonReporter, and CsvDumper from printf-style formatting to fmtlib.

Use fmt::format_to_n() to avoid allocations during formatting.

fmtlib dependency is already present and can be included using:

#include <spdlog/fmt/bundled/format.h>