diff options
| author | Tyge Løvset <[email protected]> | 2020-07-14 12:11:09 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-07-14 12:11:09 +0200 |
| commit | 5baa9566801e902afaad733b6a23e8cfb7e376ee (patch) | |
| tree | e9f794c454612ee1a249ed917c6b96003ffa09e2 /benchmarks/misc/string_bench.cpp | |
| parent | 3e0e248a229d416a9c02fbb676ec86b5e72af99f (diff) | |
| download | STC-modified-5baa9566801e902afaad733b6a23e8cfb7e376ee.tar.gz STC-modified-5baa9566801e902afaad733b6a23e8cfb7e376ee.zip | |
Redefined declare_CHash() interface, reverted back to original. declare_CHash(tag, Key, Value, ...).
To define sets, use declare_CHash_set(tag, Key, ...); with only two params, you also may use: declare_CHash(tag, Key).
Also added method: at, which works like c++ map[key] operator: inserts a new key if not existing (with given value 0), else return existing. Useful for e.g: ++chash_ii_at(&map, key, 0)->value;
Diffstat (limited to 'benchmarks/misc/string_bench.cpp')
0 files changed, 0 insertions, 0 deletions
