38template<typename Pointer, typename Equal = std::equal_to<typename std::pointer_traits<Pointer>::element_type>>
42 bool operator()(
const Pointer& i1,
const Pointer& i2)
const {
43 if (
bool(i1) ^
bool(i2)) {
46 return !i1 || _eq(*i1, *i2);
50template<typename Pointer, typename Less = std::less<typename std::pointer_traits<Pointer>::element_type>>
54 bool operator()(
const Pointer& i1,
const Pointer& i2)
const {
56 return _cmp(*i1, *i2);
62template<typename Pointer, typename Hash = std::hash<typename std::pointer_traits<Pointer>::element_type>>
66 size_t operator()(
const Pointer& p)
const {
Seastar API namespace.
Definition: abort_on_ebadf.hh:26
Definition: indirect.hh:39
Definition: indirect.hh:63
Definition: indirect.hh:51