Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/symbol-table.hpp"
Table for automatically interned strings.
This table is used to back the lib::Symbol token type, which is implemented by a pointer into this registration table for each new distinct "symbol string" created.
Definition at line 64 of file symbol-table.hpp.
Public Member Functions | |
Literal | internedString (string &&symbolString) |
Private Attributes | |
std::unordered_set< string > | table_ |
Additional Inherited Members | |
Static Public Member Functions inherited from Sync<> | |
static Monitor & | getMonitor (Sync const *forThis) |
Private Member Functions inherited from NonCopyable | |
NonCopyable (NonCopyable const &)=delete | |
NonCopyable & | operator= (NonCopyable const &)=delete |