|
Boost : |
From: Philippe A. Bouchard (philippeb_at_[hidden])
Date: 2002-07-30 19:47:55
> > [...]
> > Try it with:
> > {
> > Y* y = new D;
> > delete y;
> > }
>
> Just did, with exactly the same output. Perhaps you should try it to
> convince yourself. ;)
Ha ha ha. Things I shouldn't hear :)
Ok. It's a good point and I agree. But:
- Allocation with operator new (size_t, xmm const &) will still be faster
than:
- an extra allocation for a counter;
- amortized allocations in pool (maybe this is a negligible fact but
still is a fact :).
- How do you assert base classes have virtual destructors?
I think there is a solution for this one... It's not over :)
Philippe A. Bouchard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk