mikrosimage/SequenceParser — comment on commit 80bc526a2c6951783bbc29010ebea39e8d759ffd
File: include/Detector.hpp line 21
By fabiencastan:

http://www.boost.org/doc/libs/1_48_0/libs/ptr_container/doc/tutorial.html

Il faut qqs trucs... clone(), new_clone(), non_copyable..

Et ensuite le transfert entre containers:
another_zoo.transfer( another_zoo.end(), // insert before end
zoo.begin(), // insert this animal ...
zoo ); // from this container

// pour retourner un container entier, sans recopie du contenu:
std::auto_ptr< boost::ptr_deque > get_zoo()
{
boost::ptr_deque result;
...
return result.release(); // give up ownership
}
...
boost::ptr_deque animals = get_zoo();