Boost logo

Boost :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2004-06-25 10:07:22


On Friday 25 June 2004 10:02 am, Olivier Tristan wrote:
> A(unsigned long size) : mSize(size), mBuffer(new boost::any[size]) {}
> ~A() { delete mBuffer; }

I think you meant: delete [] mBuffer;

        Doug


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