Boost logo

Boost :

From: Vaclav Vesely (vaclav.vesely_at_[hidden])
Date: 2006-03-31 00:46:43


Larry Evans wrote:
> It's the class template version of your function template, new_.
> IOW, it's something like:
...
> Note there's no T* in any CTOR arguments (unless, of course,
> there's some T CTOR taking a T*).
>
> Also note, there's no Overhead<T> as there is in
> auto_overhead, but that's just another feature (designed to
> save the extra allocation needed shared_ptr) and wouldn't be
> relevant to this discussion, AFAICT.
>
> Is auto_overhead still unclear?

I'm afraid I still don't grasp.

In paticular I'm missing an motivating example (use case) of what can be
done with auto_overhead but not with new_.

Regards,
Vaclav


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