$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Johan Råde (rade_at_[hidden])
Date: 2008-02-13 11:57:07
Robert,
The code should NOT compile.
--Johan
Robert Ramey wrote:
> Hmmm - I tried your example on my 7.1 environment and it compiled without
> error.
>
>> // 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;