Go to the source code of this file.
Get a handle to a persistent region.
- Parameters
-
- Returns
- Pointer to the corresponding persistent region
Currently, this interface is to be used by a client only for the placement new operations
Object allocation for C++.
- Parameters
-
sz | Allocation size |
rgn | Pointer to the region to serve the allocation from |
- Returns
- Pointer to memory allocated
This interface overloads the C++ placement new operator. The corresponding delete operation is NVM_Destroy.
Array form allocation for C++, type must have explicit destructor.
- Parameters
-
sz | Allocation size |
rgn | Pointer to the region to serve the allocation from |
- Returns
- Pointer to memory allocated
This interface overloads the array form C++ placement new operator. The type of the array elements must have an explicit destructor. The corresponding delete operation is NVM_Destroy_Array.