dl
dl::StringN< N > 模板类 参考

定长字符串 更多...

#include <dl_string_n.h>

Public 成员函数

char operator[] (std::size_t i) const
 
const char * c_str () const
 
void Fill (char v)
 填充值
 
char * begin ()
 
char * end ()
 
 operator std::string () const
 
 operator std::string_view () const
 
 StringN ()=default
 
 StringN (const std::string &str)
 
 StringN (const char *str)
 

详细描述

template<size_t N>
class dl::StringN< N >

定长字符串

在文件 dl_string_n.h24 行定义.

构造及析构函数说明

◆ StringN() [1/3]

template<size_t N>
dl::StringN< N >::StringN ( )
default

◆ StringN() [2/3]

template<size_t N>
dl::StringN< N >::StringN ( const std::string & str)
inline

在文件 dl_string_n.h67 行定义.

◆ StringN() [3/3]

template<size_t N>
dl::StringN< N >::StringN ( const char * str)
inline

在文件 dl_string_n.h73 行定义.

成员函数说明

◆ begin()

template<size_t N>
char * dl::StringN< N >::begin ( )
inline

在文件 dl_string_n.h46 行定义.

◆ c_str()

template<size_t N>
const char * dl::StringN< N >::c_str ( ) const
inline

在文件 dl_string_n.h32 行定义.

◆ end()

template<size_t N>
char * dl::StringN< N >::end ( )
inline

在文件 dl_string_n.h50 行定义.

◆ Fill()

template<size_t N>
void dl::StringN< N >::Fill ( char v)
inline

填充值

在文件 dl_string_n.h40 行定义.

◆ operator std::string()

template<size_t N>
dl::StringN< N >::operator std::string ( ) const
inline

在文件 dl_string_n.h55 行定义.

◆ operator std::string_view()

template<size_t N>
dl::StringN< N >::operator std::string_view ( ) const
inline

在文件 dl_string_n.h60 行定义.

◆ operator[]()

template<size_t N>
char dl::StringN< N >::operator[] ( std::size_t i) const
inline

在文件 dl_string_n.h27 行定义.


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