[mpl] Syntax error with BOOST_MPL_ASSERT
What's wrong with this ?
template
comment inline... Jean-Louis Leroy schrieb:
What's wrong with this ?
template
void check_placeholders(const T&) { BOOST_MPL_ASSERT((is_same )); // * boost::is_same } struct Test { typedef int placeholders; };
void f() { check_placeholders<int>(Test()); }
msvc9 complains about : error C2059: syntax error : ')' at the line marked with a star. I have put much more complex things inside BOOST_MPL_ASSERT though :-/
I use Boost 1.40.
J-L
-Christopher
participants (2)
-
Christopher Schmidt
-
Jean-Louis Leroy