Horizon
|
Helper for streaming a "count [maybe-plural-of-label]" human-friendly string. More...
#include <catch_amalgamated.hpp>
Public Member Functions | |
constexpr | pluralise (std::uint64_t count, StringRef label) |
Friends | |
std::ostream & | operator<< (std::ostream &os, pluralise const &pluraliser) |
Helper for streaming a "count [maybe-plural-of-label]" human-friendly string.
Usage example:
Important: The provided string must outlive the instance