49 Symap (
const Symap &other) { *
this = other; }
50 Symap &operator= (
const Symap &other)
56 Symap (Symap &&other) { *
this = std::move (other); }
57 Symap &operator= (Symap &&other)
59 Symap tmp (std::move (other));
65 friend void swap (Symap &first, Symap &second)
69 swap (first.index, second.index);
70 swap (first.size, second.size);
71 swap (first.symbols, second.symbols);
84 uint32_t
map (
const char * sym);
91 const char *
unmap (uint32_t
id);
94 uint32_t search (
const char * sym,
bool * exact)
const;
100 char ** symbols =
nullptr;
105 uint32_t * index =
nullptr;