
13 May
2005
13 May
'05
9:59 a.m.
Rene Rivera wrote:
While investigating this test failure..
http://www.meta-comm.com/engineering/boost-regression/cvs-head/developer/out... http://tinyurl.com/93yz9
Which is a compile-fail test, but compiles successfully with CW-8.3. I narrowed the problem down to this minimal test..
#include <boost/static_assert.hpp>
template <std::size_t N> void foo_p() { BOOST_STATIC_ASSERT(N < 3); }
int main() { foo_p<5>(); }
..Which compiles without problems. The static_assert code is simple enough so I'm somewhat at a loss here.
Are you running it with two-phase templates enabled? boost::checked_delete has a workaround for CW ignoring unreferenced dependent typedefs which might be of help here.