ELC in dev
ELC-lang
载入中...
搜索中...
未找到
elc::defs::base::base_type_info_t结构体 参考

自动重整类型名并在析构时释放重整结果,对于gcc和clang的傻逼实现 更多...

Public 成员函数

constexpr base_type_info_t (const ::std::type_info &a) noexcept
 
constexpr base_type_info_t (const base_type_info_t &) noexcept=default
 
type_name_t get_name () const noexcept
 
size_t get_hash () const noexcept
 
bool operator== (const base_type_info_t &a) const noexcept
 
bool operator== (const ::std::type_info &a) const noexcept
 

详细描述

自动重整类型名并在析构时释放重整结果,对于gcc和clang的傻逼实现

在文件 all_defs.cpp1427 行定义.

构造及析构函数说明

◆ base_type_info_t() [1/2]

constexpr elc::defs::base::base_type_info_t::base_type_info_t ( const ::std::type_info &  a)
inlineconstexprnoexcept

在文件 all_defs.cpp1443 行定义.

1443:_tid(a){}
constexpr T down_cast(U a) noexcept
向下转型至

◆ base_type_info_t() [2/2]

constexpr elc::defs::base::base_type_info_t::base_type_info_t ( const base_type_info_t )
constexprdefaultnoexcept

成员函数说明

◆ get_hash()

size_t elc::defs::base::base_type_info_t::get_hash ( ) const
inlinenoexcept

在文件 all_defs.cpp1446 行定义.

1446 {
1447 return _tid.get_hash();
1448 }
这是这个函数的调用关系图:

◆ get_name()

type_name_t elc::defs::base::base_type_info_t::get_name ( ) const
inlinenoexcept

在文件 all_defs.cpp12132 行定义.

12132 {
12133 return _tid.get_name();
12134}
这是这个函数的调用关系图:

◆ operator==() [1/2]

bool elc::defs::base::base_type_info_t::operator== ( const ::std::type_info &  a) const
inlinenoexcept

在文件 all_defs.cpp1450 行定义.

1450{return _tid==type_id_t(a);}

◆ operator==() [2/2]

bool elc::defs::base::base_type_info_t::operator== ( const base_type_info_t a) const
inlinenoexcept

在文件 all_defs.cpp1449 行定义.

1449{return _tid==a._tid;}

该结构体的文档由以下文件生成: