Add type formatting helpers

Created the <maxbase/format.hh> header that contains various helper
functions for formatting values into human readable forms. Currently only
binary to human readable size conversion is implemented.
This commit is contained in:
Markus Mäkelä
2018-10-17 13:22:23 +03:00
parent 6045c90bf0
commit 7d03bee648
4 changed files with 104 additions and 20 deletions

View File

@ -1,6 +1,7 @@
add_library(maxbase STATIC
atomic.cc
eventcount.cc
format.cc
log.cc
logger.cc
maxbase.cc