From d9207f3cfd61b7e02780aba9e29895460bed3dda Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Sun, 30 Jul 2000 18:59:52 +0000 Subject: [PATCH] Add typename syntax fix in two places (from Jens Maurer) [SVN r7665] --- include/boost/integer.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/boost/integer.hpp b/include/boost/integer.hpp index 3023fc7..8660ac6 100644 --- a/include/boost/integer.hpp +++ b/include/boost/integer.hpp @@ -9,6 +9,7 @@ // See http://www.boost.org for most recent version including documentation. // Revision History +// 30 Jul 00 Add typename syntax fix (Jens Maurer) // 28 Aug 99 Initial version #ifndef BOOST_INTEGER_HPP @@ -45,7 +46,7 @@ namespace boost template< int Bits > // bits (including sign) required struct int_t { - typedef int_least_helper + typedef typename int_least_helper < (Bits-1 <= std::numeric_limits::digits) + (Bits-1 <= std::numeric_limits::digits) + @@ -59,7 +60,7 @@ namespace boost template< int Bits > // bits required struct uint_t { - typedef int_least_helper + typedef typename int_least_helper < 5 + (Bits <= std::numeric_limits::digits) +