reference() increments the TypeInfos reference count.
| 28 | |
| 29 | // reference() increments the TypeInfos reference count. |
| 30 | inline void reference() { |
| 31 | assert(refcount.load() > 0); |
| 32 | refcount++; |
| 33 | } |
| 34 | |
| 35 | // release() decrements the TypeInfos reference count. |
| 36 | // If the reference count becomes 0, then the TypeInfos is destructed. |