Boost logo

Boost :

Subject: Re: [boost] [utility] new auto_buffer class --- RFC
From: John Maddock (john_at_[hidden])
Date: 2009-03-02 11:39:56

>> to avoid heap-allocations in 95% of the cases. This can be a major
>> speed-improvement. For the remaining 5% of the cases, the buffer will be
>> placed on the heap, but the code from the user's persective remains the
>> same.
> - From glancing at the implementation posted to the list, it does not
> appear to
> fall back to heap allocation once the maximum stack capacity is reached.
> push_back() simply asserts that the stack capacity hasn't been used up
> yet.

In which case how does this differ from boost::array?


Boost list run by bdawes at, gregod at, cpdaniel at, john at