|
Teamcenter C++ API Reference
2312
|
#include <cstddef>#include <base_utils/Mem.h>#include <limits.h>#include <new>Go to the source code of this file.
Classes | |
| class | sm_allocator< T >::rebind< U > |
| class | sm_allocator< T > |
| Provides a way to leverage NX Storage Management (SM) for memory allocation in STL library. More... | |
Macros | |
| #define | SGISTATIC |
| #define | USE_REBIND_CLASS |
This file contains an STL allocator class that uses SM (StorageManagement module from NX) persistent memory as its underlying storage area.
One of the key features of SM is that allocated memory is returned to the Operating System once deallocated. This means that the memory footprint of the application just not increases, but can also decrease significantly.
Definition in file SmAllocator.hxx.
| #define SGISTATIC |
Definition at line 31 of file SmAllocator.hxx.
| #define USE_REBIND_CLASS |
Definition at line 37 of file SmAllocator.hxx.