blob: 54267c1ee4122ce1c54be9243785e132e005079a (
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;
};
|