GATE
Loading...
Searching...
No Matches
TypeFunctions< T > Struct Template Reference

Collection of C-constructor & destructor functions for C++ objects. More...

#include <memalloc.hpp>

Static Public Member Functions

static void * construct (void *destMem) noexcept
 default C++ constructor encapsulation compatible with gate_mem_ctor_t
 
static result_t copyConstruct (void *destMem, void const *srcMem) noexcept
 C++ copy-constructor encapsulation compatible with gate_mem_copyctor_t.
 
static void destruct (void *dstMem) noexcept
 C++ destructor encapsulation compatible with gate_mem_dtor_t.
 

Detailed Description

template<class T>
struct gate::TypeFunctions< T >

Collection of C-constructor & destructor functions for C++ objects.

These functions are used in C-objects that need to construct/destruct C++ types


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