Implement MxAtomId and reference counter (stl set) (#109)

* Implement MxAtomId and reference counter (stl set)
* Partial success in hiding 4786 warning spam.
* Build out most of MxOmni::Destroy since it also touches the set

* Add some size asserts
This commit is contained in:
MS
2023-08-16 13:09:44 -04:00
committed by GitHub
parent 75c1276292
commit bb0d5be921
8 changed files with 209 additions and 8 deletions

View File

@@ -14,6 +14,11 @@
// DIsable "nonstandard extension used : 'bool'" warning spam
#pragma warning( disable : 4237 )
// Disable "identifier was truncated to '255' characters" warning.
// Impossible to avoid this if using STL map or set.
// This removes most (but not all) occurrences of the warning.
#pragma warning( disable : 4786 )
#define MSVC420_VERSION 1020
// STL compatibility.
@@ -22,6 +27,7 @@
#else
#include <algorithm>
#include <list>
#include <set>
using namespace std;
#endif