Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-08-27 07:23:34


Bronek Kozicki <brok_at_[hidden]> writes:

> Howard Hinnant wrote:
>
>> template<class T, class D = typename detail::default_delete<T>::type>
>> class move_ptr;
>
> why in type? This could be stored in trampoline function, stored
> together with pointer, something like this
> http://b.kozicki.pl/cpp/ext_auto_ptr_090.zip

It's a space-vs-time tradeoff.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

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