|
Boost : |
From: Wilka (wilka_at_[hidden])
Date: 2002-01-12 17:00:23
> From: Rainer Deyke
>
> But isn't the following as likely:
>
> class Printer {
> };
> void Release(Printer&);
>
> SmartPtr<Printer,...> p(new Printer);
>
> Release(p); // oops, meant Release(*p);
>
>
But wouldn't that be:
<code>
class Printer {
};
void Release(Printer&);
SmartPtr<Printer,...> p(new Printer);
boost::Release(p); // oops, meant ::Release(*p);
</code>
- Wilka
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk