Boost logo

Boost :

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<> 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, gregod at, cpdaniel at, john at