Boost logo

Boost :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-05-12 22:43:06


While investigating this test failure..

http://www.meta-comm.com/engineering/boost-regression/cvs-head/developer/output/metacomm-bin-boost-libs-spirit-test-char_strings_test_fail-test-cw-8_3-debug-threading-multi.html
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.

Don't know how many other tests this affects but it seems kind of
important to fix this. So any ideas on what sort of feature/bug this is
hitting would be appreciated ;-)

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - Grafik/jabber.org

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