Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1285: [serialization] problem when including shared_ptr_132.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-02-13 17:36:23
#1285: [serialization] problem when including shared_ptr_132.hpp
------------------------------------+---------------------------------------
Reporter: huangsean_at_[hidden] | Owner: ramey
Type: Bugs | Status: reopened
Milestone: To Be Determined | Component: serialization
Version: Boost 1.34.1 | Severity: Showstopper
Resolution: | Keywords:
------------------------------------+---------------------------------------
Comment (by anonymous):
The example in my previous post got a bit mangled.
Here we go again:
// 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;
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1285#comment:7>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC