| 323 | // indexing |
| 324 | template <typename Key> |
| 325 | inline const Node Node::operator[](const Key& key) const { |
| 326 | EnsureNodeExists(); |
| 327 | detail::node* value = |
| 328 | static_cast<const detail::node&>(*m_pNode).get(key, m_pMemory); |
| 329 | if (!value) { |
| 330 | return Node(ZombieNode, key_to_string(key)); |
| 331 | } |
| 332 | return Node(*value, m_pMemory); |
| 333 | } |
| 334 | |
| 335 | template <typename Key> |
| 336 | inline Node Node::operator[](const Key& key) { |
nothing calls this directly
no test coverage detected