Boost logo

Boost :

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;


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