BS 0.0.1 构型退化

This commit is contained in:
ninemine
2025-06-20 14:09:40 +08:00
parent d8b7cdfa5a
commit a387e8742a
3 changed files with 45 additions and 18 deletions

View File

View File

@@ -1,18 +0,0 @@
[返回](../Runtime-README.md)
# /Convention/Runtime/Generics
本位置用于放置泛化类型等内容, 包含容器等
---
# 目录结构
- [Sequence*](Sequence.md)
以连续内存进行储存的容器, 特点是快速的随机访问与写入,
包含数组以及动态数组等内容
- [NTree*](NTree.md)
包含一个基础实现N叉树, 以及多种链型与树型结构实现的数据结构

View File

@@ -0,0 +1,45 @@
[返回](./Runtime-READNE.md)
# /Convention/Runtime/Internal
---
包含了关于本框架下内置的接口
## Import Config
导入[Config](Config.md)
## TypeClass元类型
完全公开的对外接口
- 成员函数
- ToString 转字符串类型
```cpp
string ToString() const
```
- SymbolName 获取类型符号
```cpp
string SymbolName() const noexcept
```
- GetType() 获取类型
```cpp
Type GetType() const noexcept
```
- As() 安全的类型转换
```cpp
template<typename Ty>
[[ReturnMaynull]]
conditional_t<is_reference_v<Ty>,Ty,Ty*> As()
[[ReturnMaynull]] TypeClass* As(const type_info&)
```