Boost logo

Boost :

From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2008-07-18 10:20:09


Beman Dawes skrev:
> Thorsten Ottosen wrote:
>> Hi Jan,
>>
>> The default constructor for circular_buffer is still not updated in
>> the release branch, and it is the only reason that ptr_container is
>> failing on the release branch:
>>
>> explicit circular_buffer(const allocator_type& alloc =
>> allocator_type())
>> : m_size(0), m_alloc(alloc) {
>> initialize(max_size());
>> }
>>
>> The one in trunk reads:
>>
>> explicit circular_buffer(const allocator_type& alloc =
>> allocator_type())
>> : m_buff(0), m_end(0), m_first(0), m_last(0), m_size(0),
>> m_alloc(alloc) {}
>>
>>
>> Please update as soon as possible, or tell me to do it for you.
>
> Thorsten, please go ahead and merge this one change so that the tests
> can assure us that it fixes the immediate problem.

I patched and tested the release branch, as I don't know how to merge
only a few lines. Anyway, it should make the regression turn green :-)

-Thorsten


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