Fixed #10790 (Trac): long long errors from container

This commit is contained in:
Ion Gaztañaga
2014-11-22 12:26:35 +01:00
parent e6d19fb408
commit 1d38ecfd10
2 changed files with 5 additions and 3 deletions

View File

@@ -1081,7 +1081,9 @@ use [*Boost.Container]? There are several reasons for that:
[section:release_notes_boost_1_58_00 Boost 1.58 Release]
* Added `nth` and `index_of` functions to containers with random-access iterators (except `basic_string`).
* Fixed bug in `vector::operator==`.
* Fixed bugs:
* [@https://svn.boost.org/trac/boost/ticket/10790 Trac #10790 (['long long errors from container"])].
* [@https://svn.boost.org/trac/boost/ticket/10808 Trac #10808 (['compare equal operator of vector is broken"])].
[endsect]

View File

@@ -69,7 +69,7 @@ union max_align
int int_;
long long_;
#ifdef BOOST_HAS_LONG_LONG
long long long_long_;
::boost::long_long_type long_long_;
#endif
float float_;
double double_;
@@ -225,7 +225,7 @@ template <> struct make_unsigned<signed short> {typedef unsigned short t
template <> struct make_unsigned<signed int> {typedef unsigned int type;};
template <> struct make_unsigned<signed long> {typedef unsigned long type;};
#ifdef BOOST_HAS_LONG_LONG
template <> struct make_unsigned<signed long long> {typedef unsigned long long type;};
template <> struct make_unsigned< ::boost::long_long_type > {typedef ::boost::ulong_long_type type;};
#endif
} // namespace container_detail