From 01f9a0b43a5015ab77df961d24e65802ca186266 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Tue, 8 May 2018 18:53:17 +0100 Subject: [PATCH] Add test for const-qualified final classes. --- test/is_final_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/is_final_test.cpp b/test/is_final_test.cpp index 9d03958..ba0772b 100644 --- a/test/is_final_test.cpp +++ b/test/is_final_test.cpp @@ -48,10 +48,12 @@ TT_TEST_BEGIN(is_final) BOOST_CHECK_SOFT_INTEGRAL_CONSTANT(::tt::is_final::value, true, false); BOOST_CHECK_SOFT_INTEGRAL_CONSTANT(::tt::is_final::value, true, false); BOOST_CHECK_SOFT_INTEGRAL_CONSTANT(::tt::is_final >::value, true, false); + BOOST_CHECK_SOFT_INTEGRAL_CONSTANT(::tt::is_final const>::value, true, false); # else BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_final::value, true); BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_final::value, true); BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_final >::value, true); + BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_final const>::value, true); # endif #else std::cout <<