GATE
memalloc.hpp File Reference

Memory allocation and type construction/destruction functions. More...

#include "gate/gate_core_api.hpp"
#include "gate/memalloc.h"
#include "gate/gatetypes.hpp"
#include "gate/results.hpp"
#include <new>

Classes

struct  gate::Mem
 Generic memory allocation functions. More...
 
struct  gate::TypeSwap< T >
 
struct  gate::TypeFunctions< T >
 Collection of C-constructor & destructor functions for C++ objects. More...
 

Typedefs

typedef ::gate_exception_info_t gate::exception_info_t
 

Functions

gate_exception_info_t gate::catchException (IRunnable &runner) noexcept
 
gate_exception_info_t gate::catchException (gate_entrypoint_t dispatcher, void *param) noexcept
 
gate_exception_info_t gate::catchCurrentException () noexcept
 
template<class T >
T & gate::moveRef (T &src)
 
template<class T >
T & gate::forwardRef (T &src)
 
template<class T >
T const & gate::forwardRef (T const &src)
 
template<class T >
void gate::swapRefs (T &t1, T &t2)
 
template<class T >
void gate::swapRefsNoExcept (T &t1, T &t2) noexcept
 

Detailed Description

Memory allocation and type construction/destruction functions.