Boost logo

Boost :

From: Andrei Alexandrescu (andrewalex_at_[hidden])
Date: 2002-01-13 04:58:19


> But wouldn't that be:
>
> <code>
> class Printer {
> };
> void Release(Printer&);
>
> SmartPtr<Printer,...> p(new Printer);
>
> boost::Release(p); // oops, meant ::Release(*p);
> </code>

Depends on what using directives are in sight.

Andrei

---------------------------------
Check out THE C++ Seminar: 3 Days with 5 Experts
http://www.gotw.ca/cpp_seminar/
 


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk