
28 Jan
2005
28 Jan
'05
9:30 p.m.
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