![]() |
Lumiera 0.pre.04~rc.1
»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< CONF > | |
| static Monitor & | getMonitor (Sync const *forThis) |
Private Member Functions inherited from NonCopyable | |
| ~NonCopyable ()=default | |
| NonCopyable ()=default | |
| NonCopyable (NonCopyable const &)=delete | |
| NonCopyable & | operator= (NonCopyable const &)=delete |
|
inline |
Definition at line 72 of file symbol-table.hpp.
References SymbolTable::table_.
|
private |
Definition at line 68 of file symbol-table.hpp.
Referenced by SymbolTable::internedString().
Inheritance diagram for SymbolTable:
Collaboration diagram for SymbolTable: