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

@@ -2,6 +2,7 @@
#define MXATOMID_H
#include "mxtypes.h"
#include "mxatomidcounter.h"
enum LookupMode
{
@@ -27,9 +28,13 @@ public:
{
return this->m_internal == other.m_internal;
}
void Clear();
private:
char *m_internal;
MxAtomIdCounter* GetCounter(const char *, LookupMode);
void Destroy();
const char *m_internal;
};
#endif // MXATOMID_H