#include <userver/crypto/algorithm.hpp>
Performs constant-time string comparison comparator.
Definition at line 21 of file algorithm.hpp.
Public Member Functions | |
bool | operator() (std::string_view x, std::string_view y) const noexcept |
template<typename T > | |
auto | operator() (const T &x, const T &y) const noexcept -> decltype(algorithm::AreStringsEqualConstTime(x.GetUnderlying(), y.GetUnderlying())) |
Overload for utils::StrongTypedef that hold string like objects. | |
|
inlinenoexcept |
Overload for utils::StrongTypedef that hold string like objects.
Definition at line 28 of file algorithm.hpp.
|
inlinenoexcept |
Definition at line 22 of file algorithm.hpp.