blob: 83ebf7aca41b4e3c573a54b06a3d53830a0a0ebc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#pragma once
#include <util/generic/strbuf.h>
// can be used for caseless hashes like: THashMap<TStringBuf, T, TCIOps, TCIOps>
struct TCIOps {
size_t operator()(const char* s) const noexcept;
size_t operator()(const TStringBuf& s) const noexcept;
bool operator()(const char* f, const char* s) const noexcept;
bool operator()(const TStringBuf& f, const TStringBuf& s) const noexcept;
};
|