Subject: Re: [boost] [Containers] How about a list with O(1) splice?
From: Ion GaztaÃ±aga (igaztanaga_at_[hidden])
Date: 2011-10-07 16:44:52
El 06/10/2011 19:15, Dave Abrahams escribiÃ³:
> on Thu Oct 06 2011, Ion GaztaÃ±aga<igaztanaga-AT-gmail.com> wrote:
>> //!<b>Throws</b>: std::runtime_error if this' allocator and x's allocator
>> //! are not equal.
> Are you sure you want to make this defined behavior?
I was just reproducing existing practice of some implementations (*),
but I agree that we could just require it as a precondition and use assert.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk