Boost logo

Boost :

Subject: Re: [boost] [Containers] How about a list with O(1) splice?
From: Olaf van der Spek (ml_at_[hidden])
Date: 2011-10-06 13:28:22

On Thu, Oct 6, 2011 at 7:15 PM, Dave Abrahams <dave_at_[hidden]> wrote:
> 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?

Wouldn't it be a logic_error? An assert seems more appropriate.

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