Boost logo

Boost Users :

From: wugui (yg-boost-users_at_[hidden])
Date: 2002-08-21 23:58:48


class A;
class B;
class AB : virtual public A, virtual public B;

all destruct is virtual

boost::object_pool<AB> pool_ab;

B * pb = pool_ab.constuct();
pool_ab.destroy(pb); // is this right?


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