|
FE 0.6.1
A header-only C++ library for writing frontends
|
Hash set where all strings - wrapped in Symbol - live in. More...
#include <fe/sym.h>
Public Types | |
| using | String = Sym::String |
Public Member Functions | |
Constructor & Destruction | |
| SymPool (const SymPool &)=delete | |
| SymPool () noexcept | |
| SymPool (SymPool &&other) noexcept | |
| SymPool & | operator= (SymPool)=delete |
sym | |
| Sym | sym (std::string_view s) |
| Sym | sym (const std::string &s) |
| constexpr Sym | sym (const char *s) |
s is a null-terminated C-string. | |
Friends | |
| void | swap (SymPool &p1, SymPool &p2) noexcept |
| using fe::SymPool::String = Sym::String |
|
delete |
|
inlinenoexcept |
|
inlineconstexpr |
|
inline |
|
inline |
Definition at line 271 of file sym.h.
References fe::Arena::allocate(), fe::Arena::deallocate(), fe::Sym::Short_String_Bytes, and fe::Arena::state().