Boost logo

Boost :

Subject: Re: [boost] [shared_ptr] delete shared_ptr
From: Christoph Heindl (christoph.heindl_at_[hidden])
Date: 2011-03-17 08:25:03


On Thu, Mar 17, 2011 at 1:14 PM, Joshua Juran <jjuran_at_[hidden]> wrote:
>
> One of the C++ best practices (from the book of the same name) is avoiding
> premature pessimization.

Definitely true. However, that wasn't the point of my post (it's
rather the constructor that takes accelarator_over_points per
reference). Secondy, it's not pessimization in my case, rather
following existing guidelines (boost.shared_ptr docs) and avoiding to
think about possible side-effects some code might cause :)

Best regards.


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