Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions
shared_ptr.h File Reference
#include "lib/alignment.h"
#include "lib/sysdep/rtl.h"

Go to the source code of this file.

Classes

struct  DummyDeleter
 
struct  ArrayDeleter
 
struct  AlignedDeleter
 

Functions

template<class T >
shared_ptr< TDummySharedPtr (T *ptr)
 
LIB_API shared_ptr< u8Allocate (size_t size)
 
template<class T >
static Status AllocateAligned (shared_ptr< T > &p, size_t size, size_t alignment=cacheLineSize)
 

Function Documentation

LIB_API shared_ptr<u8> Allocate ( size_t  size)

Definition at line 55 of file shared_ptr.cpp.

template<class T >
static Status AllocateAligned ( shared_ptr< T > &  p,
size_t  size,
size_t  alignment = cacheLineSize 
)
inlinestatic

Definition at line 66 of file shared_ptr.h.

template<class T >
shared_ptr<T> DummySharedPtr ( T ptr)
inline

Definition at line 38 of file shared_ptr.h.