
13 Feb
2008
13 Feb
'08
4:57 p.m.
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;