From: David B. Held (dheld_at_[hidden])
Date: 2002-05-03 15:59:58
"Mark Rodgers" <mark.rodgers_at_[hidden]> wrote in message
> From: "David B. Held" <dheld_at_[hidden]>
> > Also, take note of the situations in which using a
> > custom deleter is dangerous.
> When's that exactly?
shared_ptr<FILE> f(p, fclose);
shared_ptr<FILE> g(0, fflush);
g = f;
Contrived, but compilable.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk