Cleanup & new unwrapped function

This commit is contained in:
Bruno Herbelin
2022-01-01 10:12:50 +01:00
parent 2b5b8ad02c
commit 28f9ed1d8d
2 changed files with 15 additions and 10 deletions

View File

@@ -20,7 +20,8 @@ std::string transliterate(const std::string &input);
std::string unspace(const std::string &input);
// get a wrapped version of the input
std::string wrapped(const std::string &input, unsigned per_line);
std::string wrapped(const std::string &input, size_t per_line);
std::string unwrapped(const std::string &input);
// get a string to display memory size with unit KB, MB, GB, TB
std::string byte_to_string(long b);