Add typename syntax fix in two places (from Jens Maurer)

[SVN r7665]
This commit is contained in:
Beman Dawes
2000-07-30 18:59:52 +00:00
parent 1e3923c6e2
commit d9207f3cfd

View File

@ -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<long>::digits) +
(Bits-1 <= std::numeric_limits<int>::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<unsigned long>::digits) +