
22 Nov
2004
22 Nov
'04
8:08 p.m.
David Abrahams <dave <at> boost-consulting.com> writes:
"gast 128" <gast128 <at> hotmail.com> writes:
First I get not BOOST_MPL_ASSERT compilable on VC 7.1. From the documentation I could read that it could replace BOOST_MPL_ASSERT_IS_SAME, but I removed it completely, and switched back to BOOST_STATIC_ASSERT.
Please post the code.
That's simple: #include "boost/mpl/assert.hpp" void Testmpl6() { BOOST_MPL_ASSERT(false); //fails with error C2143: syntax error : missing '}' before '(' BOOST_MPL_ASSERT((false)); //same error }