Browse Source

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

add public keyword `float` `void*` typeid example
vczh 3 năm trước cách đây
mục cha
commit
8ef270fc3d
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      ReadMe.md

+ 2 - 0
ReadMe.md

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