
15 Mar
2010
15 Mar
'10
9:41 p.m.
On 15 March 2010 21:24, Howard Hinnant <howard.hinnant@gmail.com> 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