$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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