On Tue, Nov 07, 2006 at 09:06:14AM +0100, Jean-Marc Lasgouttes wrote: > >>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> On Mon, Nov 06, 2006 at 11:03:55PM +0100, Michael Gerz wrote: > >> Hi, > >> > >> am I too stupid to see the brilliancy of the code or can > >> cutandpaste.C be simplified? > > Martin> Probably both ;-) > > Yes, I suspect that someone wanted to play with all the new toys he > read about in a C++ book.
OTOH, the 'push_back()' of the empty par and filling it in-place as opposed to filling it outside and append it later might be intentional as this effectively saves a deep copy. Andre'