$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [unordered] unordered_set::erase() complexity bug?
From: Daniel James (dnljms_at_[hidden])
Date: 2010-03-15 17:41:05
On 15 March 2010 21:24, Howard Hinnant <howard.hinnant_at_[hidden]> wrote:
>
> Ah! Excellent point. If I'm missing your point just let me know. But the way to handle this is to have your custom deleter make its node_pointer type the same as the node_allocator's node_pointer type. unique_ptr will then use it for the storage.
OK, I thought I might be missing something, I didn't know that
unique_ptr supported custom pointer types. Looks like Ion already
supports it so it should be pretty easy to do.
Daniel