From 3cbecf5ddd02de8f081e88b2310cb7343e965f4f Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Tue, 6 Feb 2001 22:56:37 +0000 Subject: [PATCH] fix bool logic bug introduced by Jeremy's compilation fixes [SVN r8988] --- include/boost/detail/numeric_traits.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/detail/numeric_traits.hpp b/include/boost/detail/numeric_traits.hpp index f87893c..4444766 100644 --- a/include/boost/detail/numeric_traits.hpp +++ b/include/boost/detail/numeric_traits.hpp @@ -160,7 +160,7 @@ namespace boost { namespace detail { # endif public: typedef typename - if_true<(!int(x::is_signed) + if_true<(int(x::is_signed) && (!int(x::is_bounded) // digits is the number of no-sign bits || (int(x::digits) + 1 >= digit_traits::digits)))>::template then<