NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
载入中...
搜索中...
未找到
neforce::tui::const_string_ref类 参考

字符串只读引用适配器 更多...

#include <ref.hpp>

类 neforce::tui::const_string_ref 继承关系图:
[图例]

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 stringoperator* () const
 解引用
const stringoperator-> () const
 成员访问
const stringoperator() () const
 调用运算符
bool holds_pointer () const noexcept
 检查是否绑定外部指针

详细描述

字符串只读引用适配器

在文件 ref.hpp209 行定义.

构造及析构函数说明

◆ const_string_ref() [1/2]

neforce::tui::const_string_ref::const_string_ref ( const char * s)
inline

从 C 字符串构造

参数
sC 字符串

在文件 ref.hpp217 行定义.

引用了 neforce::tui::const_ref< string >::const_ref().

◆ const_string_ref() [2/2]

neforce::tui::const_string_ref::const_string_ref ( string_view sv)
inline

string_view 构造

参数
sv字符串视图

在文件 ref.hpp224 行定义.

引用了 neforce::tui::const_ref< string >::const_ref().


该类的文档由以下文件生成: