add typename to definition of (u)int_t::fast

[SVN r8560]
This commit is contained in:
Jens Maurer
2001-01-12 18:07:34 +00:00
parent 4b2fcb5c36
commit 202890e032

View File

@ -53,7 +53,7 @@ namespace boost
(Bits-1 <= std::numeric_limits<short>::digits) +
(Bits-1 <= std::numeric_limits<signed char>::digits)
>::least least;
typedef int_fast_t<least>::fast fast;
typedef typename int_fast_t<least>::fast fast;
};
// unsigned
@ -68,7 +68,7 @@ namespace boost
(Bits <= std::numeric_limits<unsigned short>::digits) +
(Bits <= std::numeric_limits<unsigned char>::digits)
>::least least;
typedef int_fast_t<least>::fast fast;
typedef typename int_fast_t<least>::fast fast;
};
// The same dispatching technique can be used to select types based on