Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-08-03 09:25:05


Andreas Huber <ahd6974-spamgroupstrap_at_[hidden]> writes:

> Andreas Huber <ahd6974-spamgroupstrap <at> yahoo.com> writes:
>> I don't think so, I'm only reversing the sequence *after* performing other
>> mutating operations on it. Here's an example from the current implementation
>> (context_type_list is assembled from multiple InnerInitial lists):
>
> I just had a look at the code and it turns out that the above is wrong
> (context_type_list is filled form scratch and not by modifying user-supplied
> sequences). The only operations that the InnerInitial sequence must support
> are:
> - size
> - empty
> - at

?? list<> doesn't support that!

> - at_c
> - begin
> - end
> - erase

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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