18 std::string_view str2)
noexcept;
22 bool operator()(std::string_view x, std::string_view y)
const noexcept {
23 return algorithm::AreStringsEqualConstTime(x, y);
31 static_assert(
noexcept(algorithm::AreStringsEqualConstTime(
32 x.GetUnderlying(), y.GetUnderlying())),
33 "The comparator should not throw as this affects efficiency "
36 return algorithm::AreStringsEqualConstTime(x.GetUnderlying(),