enum UnitSystem {
- SI, // SI decimal, composed by multiples of 1000 (KB, MB, etc.)
- IEC // IEC binary, composed by multiples of 1024 (KiB, MiB, etc. )
+ US_SI, // SI decimal, composed by multiples of 1000 (KB, MB, etc.)
+ US_IEC // IEC binary, composed by multiples of 1024 (KiB, MiB, etc. )
};
std::string nice_unit_format(
const int64_t input,
- const UnitSystem system = SI
+ const UnitSystem system = US_SI
);
bool replace_all(std::string &base, const std::string *ist, const std::string *soll);