diff --git a/test/aligned_storage_test.cpp b/test/aligned_storage_test.cpp index be89886..3752b67 100644 --- a/test/aligned_storage_test.cpp +++ b/test/aligned_storage_test.cpp @@ -31,6 +31,14 @@ void check(const T&) #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION BOOST_CHECK(::tt::is_pod::value == true); #endif + + typedef typename tt::aligned_storage::type t3; + BOOST_MESSAGE(typeid(t3).name()); + BOOST_CHECK(::tt::alignment_of::value == ::boost::alignment_of< ::boost::detail::max_align>::value); + BOOST_CHECK((sizeof(t3) % T::value) == 0); +#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION + BOOST_CHECK(::tt::is_pod::value == true); +#endif } TT_TEST_BEGIN(type_with_alignment) @@ -59,6 +67,7 @@ check(tt::integral_constant::value>()); check(tt::integral_constant::value>()); check(tt::integral_constant::value>()); check(tt::integral_constant::value>()); +check(tt::integral_constant::value>()); TT_TEST_END