Pyrogenesis  trunk
Classes | Functions
shared_ptr.h File Reference
#include "lib/alignment.h"
#include "lib/sysdep/rtl.h"
Include dependency graph for shared_ptr.h:
This graph shows which files directly or indirectly include this file:

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)
template<class T >
static Status AllocateAligned ( shared_ptr< T > &  p,
size_t  size,
size_t  alignment = cacheLineSize 
)
inlinestatic
template<class T >
shared_ptr<T> DummySharedPtr ( T ptr)
inline