FE 0.6.0
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) |
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 |
|
inline |
|
inline |
|
inline |
Definition at line 214 of file sym.h.
References fe::Arena::align(), fe::Arena::allocate(), fe::Arena::deallocate(), fe::Sym::Short_String_Bytes, and fe::Arena::state().