realroot_doc 0.1.1
shared_object< R >::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 64 of file shared_object.hpp.


Constructor & Destructor Documentation

rep ( P0  a) [inline]

Definition at line 71 of file shared_object.hpp.

: refc(1), obj(a) {};
rep ( P0  a,
P1  b 
) [inline]

Definition at line 74 of file shared_object.hpp.

: refc(1), obj(a,b) {};
rep ( P0  a,
P1  b,
P2  c 
) [inline]

Definition at line 77 of file shared_object.hpp.

: refc(1), obj(a,b,c) {};
rep ( P0  a,
P1  b,
P2  c,
P3  d 
) [inline]

Definition at line 80 of file shared_object.hpp.

: refc(1), obj(a,b,c,d) {};
rep ( ) [inline]

Definition at line 82 of file shared_object.hpp.

Referenced by shared_object< R >::rep::operator delete().

          : refc(1) {//std::cout<<"build data "<< refc<<std::endl;
    }
rep ( const rep o) [inline]

Definition at line 85 of file shared_object.hpp.

: refc(1), obj(o.obj)  { }
~rep ( ) [inline]

Definition at line 86 of file shared_object.hpp.

{}

Member Function Documentation

void operator delete ( void *  p) [inline]

Definition at line 89 of file shared_object.hpp.

References shared_object< R >::rep::rep().

    {std::allocator<R>().deallocate((R*)p,sizeof(rep)); }
void* operator new ( size_t  s) [inline]

Definition at line 87 of file shared_object.hpp.

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

Member Data Documentation


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