![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
#include "lib/symbol.hpp"
Inline string literal.
This is a marker type to indicate that
Definition at line 77 of file symbol.hpp.
Public Member Functions | |
| constexpr | Literal () noexcept |
| empty string by default | |
| constexpr | Literal (CStr literal) noexcept |
| constexpr | Literal (Literal const &) noexcept=default |
| constexpr Literal & | operator= (Literal const &) noexcept=default |
| constexpr | operator CStr () const |
| constexpr const char * | c () const |
| constexpr bool | empty () const |
| constexpr bool | operator== (CStr cString) const |
| equality on Literal and Symbol values is defined based on the content, not the address. | |
| constexpr size_t | length () const |
Protected Member Functions | |
| Literal & | operator= (CStr newStr) noexcept |
| Assignment generally prohibited. | |
Private Attributes | |
| CStr | str_ |
|
inlineconstexprnoexcept |
Definition at line 85 of file symbol.hpp.
|
inlineconstexpr |
Definition at line 92 of file symbol.hpp.
References Literal::str_.
|
inlineconstexpr |
Definition at line 93 of file symbol.hpp.
References Literal::str_.
Referenced by CommandDef::CommandDef(), TestSingO::TestSingO(), TestSingO::~TestSingO(), Symbol_test::checkComparisons(), Symbol_test::checkSymbolCreation(), AdviceSystem::deregisterRequest(), _Fmt::Converter< lib::Literal >::dump(), _Fmt::Converter< lib::Symbol >::dump(), Symbol::empty(), lib::hash_value(), Literal::length(), lib::operator==(), lib::operator==(), and lib::operator==().
Here is the caller graph for this function:
|
inlineconstexpr |
Definition at line 96 of file symbol.hpp.
References Literal::str_.
Referenced by _Fmt::Converter< lib::Literal >::dump(), and Result_test::run().
Here is the caller graph for this function:
|
inlineconstexpr |
equality on Literal and Symbol values is defined based on the content, not the address.
Definition at line 176 of file symbol.hpp.
References Literal::str_, and lib::STRING_MAX_RELEVANT.
|
inlineconstexpr |
Definition at line 182 of file symbol.hpp.
References Literal::c().
Here is the call graph for this function:Assignment generally prohibited.
Definition at line 106 of file symbol.hpp.
References Literal::str_.
|
private |
Definition at line 79 of file symbol.hpp.
Referenced by Literal::c(), Literal::empty(), Literal::operator CStr(), Literal::operator=(), and Literal::operator==().
Inheritance diagram for Literal:
Collaboration diagram for Literal: