Merge pull request #68 from nmreadelf/feat/float-void-typeid-example

add public keyword `float` `void*` typeid example
This commit is contained in:
vczh 2021-12-19 05:47:36 -08:00 committed by GitHub
commit 8ef270fc3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1099,6 +1099,7 @@ void PrintID()
template <> class TypeToID<float>
{
public:
static int const ID = 0xF10A7;
};
```
@ -1108,6 +1109,7 @@ template <> class TypeToID<float>
``` C++
template <> class TypeToID<void*>
{
public:
static int const ID = 0x401d;
};