Boost logo

Boost Users :

From: Konstantin Litvinenko (Konstantin.Litvinenko_at_[hidden])
Date: 2006-06-08 02:27:48


Hello, Thorsten!
You wrote on Wed, 07 Jun 2006 16:00:21 +0200:

 TO> Konstantin Litvinenko wrote:

 KL>> iterator i = a1.insert("a", 3);
 KL>> iterator r = a2.transfer(i, a1); /// Will not work
 KL>> return r;
 KL>>
 KL>> How can I do this with current interface in a simple way?

 TO> A hack could be
 TO> iterator r = a2.insert( "a", a1.release(i).release() );

    Hmm, interesting... But you know, this is a HACK ;)
    Can we change interface into more logical form, according to you proposal and my comments?

With best regards, Konstantin Litvinenko.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net