release() decrements the TypeInfos reference count. If the reference count becomes 0, then the TypeInfos is destructed.
| 35 | // release() decrements the TypeInfos reference count. |
| 36 | // If the reference count becomes 0, then the TypeInfos is destructed. |
| 37 | inline void release() { |
| 38 | if (--refcount == 0) { |
| 39 | this->~TypeInfos(); |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | struct NullTI : public dap::TypeInfo { |
| 44 | using null = dap::null; |
no test coverage detected