rpa::target< ResultType, Allocator >::holder_base Struct Reference

Inheritance diagram for rpa::target< ResultType, Allocator >::holder_base:

rpa::target< ResultType, Allocator >::holder< PresentType > List of all members.

Public Member Functions

virtual const ResultType & result (void)=0
virtual ~holder_base ()

Detailed Description

template<class ResultType, class Allocator = std::allocator< ResultType >>
struct rpa::target< ResultType, Allocator >::holder_base

This object is made to be allocated in a counted_ptr. The allocator is used only once, so it is not necessary to store an allocator object.


Constructor & Destructor Documentation

template<class ResultType, class Allocator = std::allocator< ResultType >>
virtual rpa::target< ResultType, Allocator >::holder_base::~holder_base (  )  [inline, virtual]


Member Function Documentation

template<class ResultType, class Allocator = std::allocator< ResultType >>
virtual const ResultType& rpa::target< ResultType, Allocator >::holder_base::result ( void   )  [pure virtual]

When all internal 'result' function will return const reference, this will retrun a reference too, which is excellent.

Implemented in rpa::target< ResultType, Allocator >::holder< PresentType >.


The documentation for this struct was generated from the following file:
Generated on Tue Sep 25 10:20:38 2007 for rpa by  doxygen 1.4.7