density
C++11 library for paged memory management, function queues, heterogeneous queues and lifo memory management
Public Member Functions | Static Public Member Functions | List of all members
f_default_construct Class Reference

#include <runtime_type.h>

Public Member Functions

void operator() (void *i_dest) const
 

Static Public Member Functions

template<typename TARGET_TYPE >
static constexpr f_default_construct make () noexcept
 

Detailed Description

Value-initializes an instance of the target type in a user specified storage buffer. The target type must satisfy the requirements of DefaultConstructible.

Member Function Documentation

static constexpr f_default_construct make ( )
inlinestaticnoexcept

Creates an instance of this feature bound to the specified target type

void operator() ( void *  i_dest) const
inline

Constructs in an uninitialized memory buffer a value-initialized instance of the target type.

Parameters
i_destwhere the target object must be constructed. Can't be null. If the buffer pointed by this parameter does not respect the size and alignment of the target type, the behavior is undefined.

The documentation for this class was generated from the following file: