indexing
| 208 | |
| 209 | // indexing |
| 210 | node* node_data::get(node& key, |
| 211 | const shared_memory_holder& /* pMemory */) const { |
| 212 | if (m_type != NodeType::Map) { |
| 213 | return nullptr; |
| 214 | } |
| 215 | |
| 216 | for (const auto& it : m_map) { |
| 217 | if (it.first->is(key)) |
| 218 | return it.second; |
| 219 | } |
| 220 | |
| 221 | return nullptr; |
| 222 | } |
| 223 | |
| 224 | node& node_data::get(node& key, const shared_memory_holder& pMemory) { |
| 225 | switch (m_type) { |