mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-02 09:15:33 +00:00
069d4255b9
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. |
||
---|---|---|
.. | ||
test_fixed_string.cpp | ||
testrefid.cpp | ||
variant.cpp |