Boost logo

Boost Users :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2005-03-28 19:24:17


"Malte Starostik" wrote:

> I'm using a wrapper class to automate postconstruction and
> predestruction. A preliminarily boostified version (added licence
> header, changed namespace to boost) is available at
> http://malte.homeip.net/~malte/prepost/
>

How is your solution better than to have
- factory function/class for post-constructor and
- deleter attached to shared_ptr for pre-destructor?

/Pavel


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net