#include <runtime_type.h>
|
template<typename TARGET_TYPE > |
static constexpr f_destroy | make () noexcept |
|
Destroys an instance of the target type, and returns the address of the complete type. The target type must satisfy the requirements of Destructible.
Creates an instance of this feature bound to the specified target type
void operator() |
( |
void * |
i_object | ) |
const |
|
inlinenoexcept |
Destroys an instance of the target type.
- Parameters
-
i_object | pointer to the object to destroy. Can't be null. If the dynamic type of the pointed object is not the target type (assigned by the function make), the behavior is undefined. |
- Returns
- The address of the complete object that has been destroyed.
The documentation for this class was generated from the following file: