Simple Application Framework  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Namespaces | Functions
Saf/Mem/Alloc.cpp File Reference

Memory allocation and deallocation functions
More...

#include "../OutOfMemoryException.h"
#include "../ArgumentException.h"
#include "Alloc.h"

Namespaces

namespace  Saf
 Global library namespace.
namespace  Saf::Mem
 Low level memory handling functions.

Functions

void * Saf::Mem::AllocateSafMemory (Size n, const Saf::SourceLocation &loc)
 Generic type-free malloc() encapsulation.
void operator delete (void *ptr, const Saf::SourceLocation &loc)
void operator delete[] (void *ptr, const Saf::SourceLocation &loc)
void * operator new (size_t nSize, const Saf::SourceLocation &loc)
void * operator new[] (size_t nSize, const Saf::SourceLocation &loc)

Detailed Description

Memory allocation and deallocation functions
Author:
Ondrej Danek ondre.nosp@m.j.da.nosp@m.nek@g.nosp@m.mail.nosp@m..com
Date:
2010

Function Documentation

void operator delete ( void *  ptr,
const Saf::SourceLocation loc 
)
void operator delete[] ( void *  ptr,
const Saf::SourceLocation loc 
)
void* operator new ( size_t  nSize,
const Saf::SourceLocation loc 
)
void* operator new[] ( size_t  nSize,
const Saf::SourceLocation loc 
)