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) +