| 56 | inline Node::~Node() = default; |
| 57 | |
| 58 | inline void Node::EnsureNodeExists() const { |
| 59 | if (!m_isValid) |
| 60 | throw InvalidNode(m_invalidKey); |
| 61 | if (!m_pNode) { |
| 62 | m_pMemory.reset(new detail::memory_holder); |
| 63 | m_pNode = &m_pMemory->create_node(); |
| 64 | m_pNode->set_null(); |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | inline bool Node::IsDefined() const { |
| 69 | if (!m_isValid) { |
no test coverage detected