Class pluralise
Defined in File catch_amalgamated.hpp
Class Documentation
-
class pluralise
Helper for streaming a “count [maybe-plural-of-label]” human-friendly string
Usage example:
std::cout << "Found " << pluralise(count, "error") << '\n';
Important: The provided string must outlive the instance