Boost logo

Boost Users :

From: Seweryn Habdank-Wojewódzki (shw_at_[hidden])
Date: 2007-06-17 04:48:59


Hi!

> Isn't that second allocation that of expanding the vector?

Yes. Now everything is clear for me. I have checked, that with huge objects,
and even there are two allocations there is only one allocation of huge
object.

I was little suprise, because std::vector allocate only once.

Sorry for the mess. Thanks.

Regards.

-- 
|\/\/|   Seweryn Habdank-Wojewódzki
 \/\/ 

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