Boost logo

Boost :

From: Joseph Gauterin (josephmgauterin_at_[hidden])
Date: 2005-09-27 07:45:01


Could you be more specific as to what functionality such a library would
supply? If you already have an implementation then an example of it's use
would be interesting.

It is my understanding that the pimpl idiom is fairly simple yet also class
specific. I currently implement it like this:

In the .hpp
class foo
{
   ....
   private:
      class pimpl_t;
      pimpl_t* pimpl;
};

in the .cpp

#incldue "foo.hpp"
class foo::pimpl_t
{
public:
    //private data
};

I don't readily see how this could be abstracted, so an example would help
me to see what you are proposing more clearly.

_________________________________________________________________
MSN Messenger 7.5 is now out. Download it for FREE here.
http://messenger.msn.co.uk


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk