Boost logo

Boost :

From: Sean Huang (huangsean_at_[hidden])
Date: 2008-02-13 12:13:36


> -----Original Message-----
> From: boost-bounces_at_[hidden] [mailto:boost-
> bounces_at_[hidden]] On Behalf Of Johan Råde
> Sent: Wednesday, February 13, 2008 11:57 AM
> To: boost_at_[hidden]
> Subject: Re: [boost] [serialization] namespace boost
>
> Robert,
>
> The code should NOT compile.
>
> >> // Expected behavior: Should not compile
> >> // Observed behavior with Boost 1.34.1 and MSVC 7.1: Does not
> compile
> >> // Observed behavior with Boost 1.35 and MSVC 7.1: Does compile
> >>
> >> #include <boost/shared_ptr.hpp>
> >> #include <boost/archive/text_iarchive.hpp>
> >> shared_ptr<int> sp;
>

This is very similar (or the same) to
http://svn.boost.org/trac/boost/ticket/1285. Unfortunately, Robert did not
want to take the fix proposed.

Regards,

Sean


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