Template Function sdv::make_ptr#

Function Documentation#

template<typename T>
pointer<T> sdv::make_ptr(size_t nSize = 1)#

Create a pointer class using the allocator and allocating the memory with the given size.

Template Parameters:

T – Type to use for the allocation.

Parameters:

nSize[in] Size to allocate (in elements).

Returns:

The pointer class.