60 [[nodiscard]]
auto str() const noexcept -> const
util::Utf8String&;
64 util::Utf8String str_;
75[[nodiscard]] inline auto operator==(
77 return lhs.str() == rhs.str();
105 return lhs.str() < rhs.str();
163 :
public formatter<stat_bench::util::Utf8String> {
172 fmt::format_context& context)
const -> fmt::format_context::iterator {
173 return formatter<stat_bench::util::Utf8String>::format(
180namespace stat_bench {
192 return stream << val.str();
214 return hash_(val.str());
219 std::hash<stat_bench::util::Utf8String> hash_;
Class of names of parameters.
ParameterName(std::string str)
Constructor.
auto str() const noexcept -> const util::Utf8String &
Get the string of the name.
ParameterName(util::Utf8String str) noexcept
Constructor.
Class of UTF-8 encoded string.
auto operator()(const stat_bench::param::ParameterName &val) const -> std::size_t
Hash function.
Namespace of parameters of benchmarks.
auto operator<=(const ParameterName &lhs, const ParameterName &rhs) noexcept -> bool
Compare two ParameterName objects.
auto operator<(const ParameterName &lhs, const ParameterName &rhs) noexcept -> bool
Compare two ParameterName objects.
auto operator<<(std::ostream &stream, const ParameterName &val) -> std::ostream &
Format to a stream.
auto operator!=(const ParameterName &lhs, const ParameterName &rhs) noexcept -> bool
Compare two ParameterName objects.
auto operator>(const ParameterName &lhs, const ParameterName &rhs) noexcept -> bool
Compare two ParameterName objects.
auto operator>=(const ParameterName &lhs, const ParameterName &rhs) noexcept -> bool
Compare two ParameterName objects.
Namespace of utility functions and classes.
Namespace of stat_bench source codes.
Definition of Utf8String class.