Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdMemoryAllocator<class T>::defaultConstruct Method
Syntax
C++
static inline void defaultConstruct(T* pElement);

This function performs a default constructor on one memory location. 

 

Parameters
Description
pElement
[out] Receives the element.

In some memory allocators, the method performs value initialization instead of default initialization, i.e., primitive types are zero-initialized instead of being left with undefined values.

Copyright © 2002-2022. Open Design Alliance All rights reserved.