Compare commits

...

2 Commits

Author SHA1 Message Date
vczh 8ef270fc3d
Merge pull request #68 from nmreadelf/feat/float-void-typeid-example
add public keyword `float` `void*` typeid example
2021-12-19 05:47:36 -08:00
nmreadelf b306167a0e
add public keyword `float` `void*` typeid example
`float` and `void*` typeid exmaple add public keywork
2021-12-15 18:05:34 +08:00
1 changed files with 2 additions and 0 deletions

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;
};