Files
Convention-Template/Convention/[Runtime]/Internal.md
2025-06-20 14:09:40 +08:00

694 B

返回

/Convention/Runtime/Internal


包含了关于本框架下内置的接口

Import Config

导入Config

TypeClass元类型

完全公开的对外接口

  • 成员函数

    • ToString 转字符串类型
    string ToString() const
    
    • SymbolName 获取类型符号
    string SymbolName() const noexcept
    
    • GetType() 获取类型
    Type GetType() const noexcept
    
    • As() 安全的类型转换
    template<typename Ty>
    [[ReturnMaynull]]
    conditional_t<is_reference_v<Ty>,Ty,Ty*> As()
    [[ReturnMaynull]] TypeClass* As(const type_info&)