rep Struct Reference

#include <shared_object.hpp>

List of all members.

Public Member Functions

Public Attributes


Detailed Description

template<class R>
struct mmx::shared_object< R >::rep

Definition at line 71 of file shared_object.hpp.


Constructor & Destructor Documentation

rep ( P0  a  )  [inline]

Definition at line 78 of file shared_object.hpp.

00078 : refc(1), obj(a) {};

rep ( P0  a,
P1  b 
) [inline]

Definition at line 81 of file shared_object.hpp.

00081 : refc(1), obj(a,b) {};

rep ( P0  a,
P1  b,
P2  c 
) [inline]

Definition at line 84 of file shared_object.hpp.

00084 : refc(1), obj(a,b,c) {};

rep ( P0  a,
P1  b,
P2  c,
P3  d 
) [inline]

Definition at line 87 of file shared_object.hpp.

00087 : refc(1), obj(a,b,c,d) {};

rep (  )  [inline]

Definition at line 89 of file shared_object.hpp.

00089           : refc(1) {//std::cout<<"build data "<< refc<<std::endl;
00090     }

rep ( const rep o  )  [inline]

Definition at line 92 of file shared_object.hpp.

00092 : refc(1), obj(o.obj)  { }

~rep (  )  [inline]

Definition at line 93 of file shared_object.hpp.

00093 {}


Member Function Documentation

void operator delete ( void *  p  )  [inline]

Definition at line 96 of file shared_object.hpp.

References R.

00097     {std::allocator<R>().deallocate((R*)p,sizeof(rep)); }

void* operator new ( size_t  s  )  [inline]

Definition at line 94 of file shared_object.hpp.

00095       {return std::allocator<R>().allocate(s); }


Member Data Documentation

R obj
int refc

The documentation for this struct was generated from the following file:

Generated on 6 Dec 2012 for realroot by  doxygen 1.6.1