Some small suggestion for the testsuite: This: +BOOST_STATIC_ASSERT(sizeof(a1) == sizeof(a2)); // { dg-error "" }
Should be:+BOOST_STATIC_ASSERT(sizeof(a1) == sizeof(a2)); // { dg-error "sizeof (a1) == sizeof(a2)" }
So that it does just error out that static_assert is not defined. -- Pinski