|
Boost : |
From: Stefan Slapeta (stefan_nospam__at_[hidden])
Date: 2005-01-28 16:30:10
Stefan Slapeta wrote:
>
> Everybody is free to overload reset for his own types, which makes
> perfect sense e.g. for smart prts:
>
> template <typename T>
> void reset(shared_ptr<T> &p)
> {
> p.reset();
> }
>
> ...is found via ADL
>
>
...and, if we had this kind of 'customized' reset, maybe Joel could be
convinced to put a lazy reset into Phoenix 2 ;-)
Stefan
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk