|
Boost : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-10-18 07:32:08
Drew,
constructors and destructors of wrapped classes are called automatically, so
you don't need to override __init__ and __del__.
===================================================
David Abrahams, C++ library designer for hire
resume: http://users.rcn.com/abrahams/resume.html
C++ Booster (http://www.boost.org)
email: david.abrahams_at_[hidden]
===================================================
----- Original Message -----
From: <Drew.Whitehouse_at_[hidden]>
>
> Is it possible to override __init__ __del__ methods so that my own
> constructors and destructors are called ?
>
> eg
>
> class A
> {
> protected:
>
> A();
> virtual ~A();
>
> public:
>
> A *instantiate();
> void release();
>
> };
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk