Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-08-27 07:44:08


Bronek Kozicki wrote:
> 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

So that sizeof(move_ptr<T>) can be the same as sizeof(T*).


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