MCPcopy Create free account
hub / github.com/arun11299/cpp-jwt / compare

Method compare

include/jwt/string_view.hpp:217–224  ·  view source on GitHub ↗

Comparison Member Functions

Source from the content-addressed store, hash-verified

215
216 /// Comparison Member Functions
217 int compare(const basic_string_view& other) const noexcept
218 {
219 int ret = traits_type::compare(data_, other.data_, std::min(len_, other.len_));
220 if (ret == 0) {
221 ret = compare_length(len_, other.len_);
222 }
223 return ret;
224 }
225
226 int compare(size_type pos, size_type n, basic_string_view other) const noexcept
227 {

Callers 1

operator()Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected