$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2006-06-01 12:49:17
Konstantin Litvinenko wrote:
> Hello, All!
>
> I have a couple of questions about ptr_container library. Specificaly
>
> 1) Why ptr_multimap_adapter::insert has non const key_type argument?
This is due to exception-safety concerns.
If the construction of the key can throw, the heap allocated object can
throw.
> 2) Why ptr_multimap_adapter::transfer( iterator object, ptr_multimap_adapter& from ) has void return type instead of iterator?
Why do you think it should return an iterator?
-Thorsten