59 [[nodiscard]]
auto str() const noexcept -> const
util::Utf8String&;
63 util::Utf8String str_;
76 return lhs.str() == rhs.str();
101 :
public formatter<stat_bench::util::Utf8String> {
110 fmt::format_context& context)
const -> fmt::format_context::iterator {
111 return formatter<stat_bench::util::Utf8String>::format(
118namespace stat_bench {
129 return stream << val.str();
150 return hash_(val.str());
155 std::hash<stat_bench::util::Utf8String> hash_;
Class of names of groups of benchmarks.
BenchmarkGroupName(util::Utf8String str) noexcept
Constructor.
auto str() const noexcept -> const util::Utf8String &
Get the string of the name.
BenchmarkGroupName(std::string str)
Constructor.
Class of UTF-8 encoded string.
auto operator()(const stat_bench::BenchmarkGroupName &val) const -> std::size_t
Hash function.
Namespace of utility functions and classes.
Namespace of stat_bench source codes.
auto operator!=(const BenchmarkCaseName &lhs, const BenchmarkCaseName &rhs) noexcept -> bool
Compare two BenchmarkCaseName objects.
auto operator<<(std::ostream &stream, const BenchmarkCaseName &val) -> std::ostream &
Format to a stream.
Definition of Utf8String class.