|
header_utils
|
The base class for all symbols. More...
#include <symbol.h>
Public Types | |
| using | symbol_provider |
| using | internal_value_type |
| using | hash_type |
Public Member Functions | |
| template<typename T> | |
| symbol_base (T &&val) | |
| template<typename T> | |
| symbol_base & | operator= (T &&val) noexcept |
| symbol_base (symbol_base const &other) noexcept=default | |
| symbol_base (symbol_base &&other) noexcept=default | |
| symbol_base & | operator= (symbol_base const &other) noexcept=default |
| symbol_base & | operator= (symbol_base &&other) noexcept=default |
| hash_type | get_hash () const noexcept |
| std::string_view | get_string () const noexcept |
| auto | to_string () const noexcept |
| auto | operator-> () const noexcept |
| Only available if the internal value type is a pointer. | |
| bool | operator== (symbol_base const &other) const noexcept |
| auto | operator<=> (symbol_base const &other) const noexcept |
| bool | empty () const noexcept |
| size_t | size () const noexcept |
Public Attributes | |
| internal_value_type | value |
Friends | |
| bool | operator== (std::string_view a, symbol_base const &b) noexcept |
| auto | operator<=> (std::string_view a, symbol_base const &b) noexcept |
| std::ostream & | operator<< (std::ostream &o, const symbol_base &ptr) |
The base class for all symbols.
| using ghassanpl::symbol_base< SYMBOL_PROVIDER >::hash_type |
| using ghassanpl::symbol_base< SYMBOL_PROVIDER >::internal_value_type |
| using ghassanpl::symbol_base< SYMBOL_PROVIDER >::symbol_provider |
|
inline |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
friend |
|
friend |
|
friend |
| internal_value_type ghassanpl::symbol_base< SYMBOL_PROVIDER >::value |