|
Banuba SDK
|
Loading...
Searching...
No Matches
10 template<
typename Class>
11 size_t class_unique_id()
13 static const char registrar_slot = 0;
14 return reinterpret_cast<size_t>(®istrar_slot);
17 template<
typename IdType,
typename T>
21 static const char* get_name()
noexcept
24 return typeid(T).name();
25 }
catch (
const std::bad_typeid&) {
30 static IdType get_id()
noexcept
32 return static_cast<IdType
>(class_unique_id<T>());