Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-05-01 04:42:29


From: "Gennadiy Rozental" <rogeeff_at_[hidden]>
> "Peter Dimov" <pdimov_at_[hidden]> wrote in message
> news:00f801c1f068$0c7fc650$1d00a8c0_at_pdimov2...
> > > > // a.cpp
> > > >
> > > > class X;
> > > > smart_ptr<X> px;
> > > >
>
>
> I think that if smart_ptr is using traits this wont compile.

Depends on the implementation. It can be made to not compile, but then
smart_ptr cannot be used with incomplete types.


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