Boost logo

Boost :

From: Olivier Tristan (olivier_at_[hidden])
Date: 2004-06-25 11:02:55


Olivier Tristan wrote:

> class A {
> public:
> A(unsigned long size) : mSize(size), mBuffer(new boost::any[size]) {}
> ~A() { delete mBuffer; }
> private:
> unsigned long mSize;
> boost::any *mBuffer;
> };

delete[] mBuffer;
I am so stupid..

Sorry guys.

-- 
Olivier Tristan
Ultimate Sound Bank

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