$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Johan Råde (rade_at_[hidden])
Date: 2008-02-14 03:53:11
Allen Ding wrote:
> I think your understanding is right and the problem is with VC8.
> The following compiles on VC8, but if you remove the template definition for
> whatever, it fails as expected.
I tested Allen's example with VC 7.1.
I got exactly the behavior that he reports with VC8.
(The code compiles. If you remove the template definition for whatever, then it fails to compile.)
Maybe there should be a regression test for this problem.
Something like:
--------------------------------------------------
// Expected behavior: should not compile
#include <boost/any.hpp>
#include <boost/array.hpp>
... all Boost headers ...
#include <boost/xpressive/xpressive.hpp>
shared_ptr<int> sp;
------------------------------------------------
--Johan