forked from boostorg/integer
Add typename syntax fix in two places (from Jens Maurer)
[SVN r7665]
This commit is contained in:
@ -9,6 +9,7 @@
|
|||||||
// See http://www.boost.org for most recent version including documentation.
|
// See http://www.boost.org for most recent version including documentation.
|
||||||
|
|
||||||
// Revision History
|
// Revision History
|
||||||
|
// 30 Jul 00 Add typename syntax fix (Jens Maurer)
|
||||||
// 28 Aug 99 Initial version
|
// 28 Aug 99 Initial version
|
||||||
|
|
||||||
#ifndef BOOST_INTEGER_HPP
|
#ifndef BOOST_INTEGER_HPP
|
||||||
@ -45,7 +46,7 @@ namespace boost
|
|||||||
template< int Bits > // bits (including sign) required
|
template< int Bits > // bits (including sign) required
|
||||||
struct int_t
|
struct int_t
|
||||||
{
|
{
|
||||||
typedef int_least_helper
|
typedef typename int_least_helper
|
||||||
<
|
<
|
||||||
(Bits-1 <= std::numeric_limits<long>::digits) +
|
(Bits-1 <= std::numeric_limits<long>::digits) +
|
||||||
(Bits-1 <= std::numeric_limits<int>::digits) +
|
(Bits-1 <= std::numeric_limits<int>::digits) +
|
||||||
@ -59,7 +60,7 @@ namespace boost
|
|||||||
template< int Bits > // bits required
|
template< int Bits > // bits required
|
||||||
struct uint_t
|
struct uint_t
|
||||||
{
|
{
|
||||||
typedef int_least_helper
|
typedef typename int_least_helper
|
||||||
<
|
<
|
||||||
5 +
|
5 +
|
||||||
(Bits <= std::numeric_limits<unsigned long>::digits) +
|
(Bits <= std::numeric_limits<unsigned long>::digits) +
|
||||||
|
Reference in New Issue
Block a user