21#ifndef __ANTARES_LIBS_MEMORY_MEMORY_HXX__
22#define __ANTARES_LIBS_MEMORY_MEMORY_HXX__
39inline void Memory::Allocate(T*& out,
size_t size)
46inline bool Memory::Null(
const T* out)
52inline bool Memory::StrictNull(
const T* out)
58inline U* Memory::RawPointer(U* array)
64inline void Memory::Zero(uint count, U* array)
66 (void)::memset(array, 0,
sizeof(U) * count);
70inline void Memory::Assign(uint count, U* array,
const U& value)
72 for (uint i = 0; i != count; ++i)
static void Release(T *&pointer)
Release a raw pointer.
Definition memory.hxx:32
uint64_t processID() const
Get the process ID of the application.
Definition memory.hxx:26