From 640379ac34dd40c53f625ba5bf13a3b57e97ca41 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Thu, 20 Nov 2003 21:41:33 +0000 Subject: [PATCH] Better error messages on failure [SVN r20894] --- test/static_assert_same.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/static_assert_same.hpp b/test/static_assert_same.hpp index 3bff6bf..e463192 100644 --- a/test/static_assert_same.hpp +++ b/test/static_assert_same.hpp @@ -10,13 +10,17 @@ #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION template -struct static_assert_same; +struct static_assert_same_base; template -struct static_assert_same +struct static_assert_same_base { enum { value = 1 }; }; + +template +struct static_assert_same : static_assert_same_base {}; + #else # include # include