ELC in dev
ELC-lang
载入中...
搜索中...
未找到
elc::defs::string_n::string_t< char_T >::arec_t类 参考
类 elc::defs::string_n::string_t< char_T >::arec_t 继承关系图:
[图例]
elc::defs::string_n::string_t< char_T >::arec_t 的协作图:
[图例]

Public 成员函数

 arec_t (string_t *to, size_t index) noexcept
 
 arec_t (special_init_t, const arec_t &ref) noexcept
 
 operator char_T () const &&noexcept
 
arec_t && operator= (char_T a) &&noexcept
 
arec_t && operator= (const arec_t &&ch) &&noexcept
 
char_Toperator& () &&noexcept
 
const char_Toperator& () const &&noexcept
 

友元

class string_t
 
template<class text_ostream_T >
requires (type_info<text_ostream_T>.base_on<text_ostream_t<char_T>>)
autooperator<< (text_ostream_T &os, arec_t &&ch) noexcept(noexcept_text_ostream_class< text_ostream_T >)
 
template<class text_istream_T >
requires (type_info<text_istream_T>.base_on<text_istream_t<char_T>>)
autooperator>> (text_istream_T &is, arec_t &&ch) noexcept(noexcept_text_istream_class< text_istream_T >)
 

详细描述

template<typename char_T>
class elc::defs::string_n::string_t< char_T >::arec_t

在文件 all_defs.cpp38882 行定义.

构造及析构函数说明

◆ arec_t() [1/2]

template<typename char_T >
elc::defs::string_n::string_t< char_T >::arec_t::arec_t ( string_t to,
size_t  index 
)
inlinenoexcept

在文件 all_defs.cpp38888 行定义.

38888:_to(to),_index(index){}

◆ arec_t() [2/2]

template<typename char_T >
elc::defs::string_n::string_t< char_T >::arec_t::arec_t ( special_init_t  ,
const arec_t ref 
)
inlinenoexcept

在文件 all_defs.cpp38889 行定义.

38889:_to(ref._to),_index(ref._index){}
constexpr T down_cast(U a) noexcept
向下转型至

成员函数说明

◆ operator char_T()

template<typename char_T >
elc::defs::string_n::string_t< char_T >::arec_t::operator char_T ( ) const &&
inlinenoexcept

在文件 all_defs.cpp38890 行定义.

38890{ return _to->arec(_index); }
char_T arec(size_t index) noexcept
函数调用图:

◆ operator&() [1/2]

template<typename char_T >
char_T * elc::defs::string_n::string_t< char_T >::arec_t::operator& ( ) &&
inlinenoexcept

在文件 all_defs.cpp38900 行定义.

38900{ return get_address(); }

◆ operator&() [2/2]

template<typename char_T >
const char_T * elc::defs::string_n::string_t< char_T >::arec_t::operator& ( ) const &&
inlinenoexcept

在文件 all_defs.cpp38901 行定义.

38901{ return get_address(); }

◆ operator=() [1/2]

template<typename char_T >
arec_t && elc::defs::string_n::string_t< char_T >::arec_t::operator= ( char_T  a) &&
inlinenoexcept

在文件 all_defs.cpp38891 行定义.

38891 {
38892 _to->arec_set(_index,a);
38893 return move(*this);
38894 }
constexpr struct elc::defs::memory::lifetime_n::move_t move
void arec_set(size_t index, char_T a) noexcept
函数调用图:

◆ operator=() [2/2]

template<typename char_T >
arec_t && elc::defs::string_n::string_t< char_T >::arec_t::operator= ( const arec_t &&  ch) &&
inlinenoexcept

在文件 all_defs.cpp38895 行定义.

38895{ return move(*this).operator=(move(ch).operator char_T()); }

友元及相关函数文档

◆ operator<<

template<typename char_T >
auto & operator<< ( text_ostream_T os,
arec_t &&  ch 
)
friend

在文件 all_defs.cpp38907 行定义.

38907 {
38908 return os << move(ch).operator char_T();
38909 }

◆ operator>>

template<typename char_T >
auto & operator>> ( text_istream_T is,
arec_t &&  ch 
)
friend

在文件 all_defs.cpp38911 行定义.

38911 {
38912 char_T ach;is >> ach;
38913 move(ch)=ach;
38914 return is;
38915 }

◆ string_t

template<typename char_T >
friend class string_t
friend

在文件 all_defs.cpp38886 行定义.


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