libxr 1.0
Want to be the best embedded framework
|
类型标识符生成器,替代 typeid More...
#include <libxr_type.hpp>
Public Types | |
using | ID = const void * |
Static Public Member Functions | |
template<typename T > | |
static ID | GetID () |
获取类型的唯一标识符 | |
类型标识符生成器,替代 typeid
Type identifier generator (RTTI-free)
Definition at line 224 of file libxr_type.hpp.
using TypeID::ID = const void * |
Definition at line 227 of file libxr_type.hpp.
|
inlinestatic |
获取类型的唯一标识符
Get unique identifier for type T
T | 目标类型 / Target type |
Definition at line 235 of file libxr_type.hpp.