Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/symbol.hpp"
inline string literal This is a marker type to indicate that
Definition at line 76 of file symbol.hpp.
Public Member Functions | |
Literal () noexcept | |
empty string by default More... | |
Literal (const char *literal) noexcept | |
Literal (Literal const &o) noexcept | |
const char * | c () const |
bool | empty () const |
operator CStr () const | |
bool | operator== (CStr cString) const |
equality on Literal and Symbol values is defined based on the content, not the address. More... | |
Protected Member Functions | |
Literal & | operator= (CStr newStr) noexcept |
Assignment generally prohibited. | |
Private Attributes | |
CStr | str_ |
|
inlinenoexcept |
empty string by default
Definition at line 168 of file symbol.hpp.
References lib::hash_value(), and Literal::operator==().
bool operator== | ( | CStr | charPtr | ) | const |
equality on Literal and Symbol values is defined based on the content, not the address.
Definition at line 93 of file symbol-impl.cpp.
Referenced by Literal::Literal(), and lib::operator==().