58 [[nodiscard]]
auto str() const noexcept -> const
util::Utf8String&;
62 util::Utf8String str_;
73[[nodiscard]] inline auto operator==(
75 return lhs.str() == rhs.str();
102 :
public formatter<stat_bench::util::Utf8String> {
111 fmt::format_context& context)
const -> fmt::format_context::iterator {
112 return formatter<stat_bench::util::Utf8String>::format(
119namespace stat_bench {
131 return stream << val.str();
Class of names of measurers.
auto str() const noexcept -> const util::Utf8String &
Get the string of the name.
MeasurerName(util::Utf8String str) noexcept
Constructor.
MeasurerName(std::string str)
Constructor.
Class of UTF-8 encoded string.
Namespace of classes to measure time in benchmarks.
auto operator<<(std::ostream &stream, const MeasurerName &val) -> std::ostream &
Format to a stream.
auto operator!=(const MeasurerName &lhs, const MeasurerName &rhs) noexcept -> bool
Compare two MeasurerName objects.
Namespace of utility functions and classes.
Namespace of stat_bench source codes.
Definition of Utf8String class.