28#include <fmt/format.h>
60 std::string_view
name)
75 const char*
name, std::size_t size)
99 [[nodiscard]] std::string_view
name() const noexcept {
return name_; }
116 return left.name() == right.name();
129 return left.name() != right.name();
142 :
public formatter<std::string_view> {
153 format_context& context)
const {
154 return formatter<std::string_view>::format(val.
name(), context);
MethodName(const char *name)
Constructor.
MethodName(const char *name, std::size_t size)
Constructor.
MethodName(std::string_view name)
Constructor.
std::string name_
Method name.
MethodName(std::string name)
Constructor.
std::string_view name() const noexcept
Get the method name.
Namespace of fmt library.
bool operator!=(const MethodName &left, const MethodName &right) noexcept
Compare two method names.
bool operator==(const MethodName &left, const MethodName &right) noexcept
Compare two method names.
Namespace of cpp-msgpack-rpc library.