mirror of
https://github.com/OpenMW/openmw.git
synced 2026-01-06 01:43:06 +00:00
Use std::variant. Store refId strings in unordered_set and use pointer to an item there. Inserts to unordered_set do not invalidate pointers to values so the pointer is always valid. Elements are not removed. Assume there is finite number of string refIds. |
||
|---|---|---|
| .. | ||
| doc | ||
| filter | ||
| prefs | ||
| tools | ||
| world | ||