|
NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
|
字符串只读引用适配器 更多...
#include <ref.hpp>
Public 成员函数 | |
| const_string_ref (const char *s) | |
| 从 C 字符串构造 | |
| const_string_ref (string_view sv) | |
| 从 string_view 构造 | |
| Public 成员函数 继承自 neforce::tui::const_ref< string > | |
| const_ref () | |
| 默认构造 | |
| const string & | operator* () const |
| 解引用 | |
| const string * | operator-> () const |
| 成员访问 | |
| const string & | operator() () const |
| 调用运算符 | |
| bool | holds_pointer () const noexcept |
| 检查是否绑定外部指针 | |
|
inline |
|
inline |
从 string_view 构造
| sv | 字符串视图 |