mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 22:14:26 +02:00
Fixed #10790 (Trac): long long errors from container
This commit is contained in:
@@ -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]
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user