Boost logo

Boost :

Subject: Re: [boost] [Block Pointer] benchmark
From: Phil Bouchard (philippe_at_[hidden])
Date: 2011-05-26 20:35:41


On 5/26/2011 5:15 PM, Peter Dimov wrote:
>
> It looks like it calls delete with NULL. This is probably the destructor
> of the temporary auto_ptr, whose pointer is NULL after the assignment.
>
> Does your test use rvalue references by the way (-std=c++0x)?

gcc 4.1.2 doesn't support -std=c++0x.

-Phil


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk