A reference to a string on the global string pool.
More...
#include <string.hpp>
A reference to a string on the global string pool.
Definition at line 39 of file string.hpp.
◆ StringRef() [1/3]
| constexpr Eng3D::StringRef::StringRef |
( |
| ) |
|
|
constexprdefault |
◆ StringRef() [2/3]
| Eng3D::StringRef::StringRef |
( |
const std::string_view |
str | ) |
|
◆ StringRef() [3/3]
| constexpr Eng3D::StringRef::StringRef |
( |
size_t |
_id | ) |
|
|
inlineconstexpr |
◆ c_str()
| const char* Eng3D::StringRef::c_str |
( |
| ) |
const |
|
inline |
◆ get_id()
| size_t Eng3D::StringRef::get_id |
( |
| ) |
const |
|
inline |
◆ get_string()
| const std::string_view Eng3D::StringRef::get_string |
( |
| ) |
const |
◆ operator std::string()
| Eng3D::StringRef::operator std::string |
( |
| ) |
const |
|
inline |
◆ operator<=>()
| constexpr auto Eng3D::StringRef::operator<=> |
( |
const StringRef & |
| ) |
const |
|
constexprdefaultnoexcept |
◆ operator=()
| StringRef& Eng3D::StringRef::operator= |
( |
const std::string & |
rhs | ) |
|
|
inline |
◆ operator==()
| constexpr bool Eng3D::StringRef::operator== |
( |
const StringRef & |
| ) |
const |
|
constexprdefaultnoexcept |
◆ id
| size_t Eng3D::StringRef::id = 0 |
The documentation for this struct was generated from the following files: