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