From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-05-13 04:59:51
Rene Rivera wrote:
> While investigating this test failure..
> 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()
> ..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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk