Loki::Pimpl< T, Pointer > Class Template Reference
[Pimpl]

#include <Pimpl.h>

List of all members.

Public Types

typedef T Impl

Public Member Functions

 Pimpl ()
 ~Pimpl ()
T * operator-> ()
T & operator * ()
const T * operator-> () const
const T & operator * () const
Pointer & wrapped ()
const Pointer & wrapped () const


Detailed Description

template<class T, typename Pointer = ConstPropPtr<T>>
class Loki::Pimpl< T, Pointer >

Implements the Pimpl idiom. It's a wrapper for a smart pointer which automatically creates and deletes the implementation object and adds const propagation to the smart pointer.

Usage
see test/Pimpl

Definition at line 75 of file Pimpl.h.


The documentation for this class was generated from the following file:
Generated on Sun Feb 25 16:52:44 2007 for Loki by  doxygen 1.5.1-p1