forked from boostorg/container
Added C++17's is_always_equal to allocator_traits and scoped_allocator_adaptor
This commit is contained in:
1 parent
1012987897
commit
f0f35a830d
6 files changed
+113
-60
No files matched your search
+3
-1
@@ -749,7 +749,8 @@ C++11 further improves stateful allocator support through
|
||||
an allocator writer can customize its behaviour (should the container propagate it in
|
||||
move constructor, swap, etc.?) following `allocator_traits` requirements. [*Boost.Container]
|
||||
not only supports this model with C++11 but also [*backports it to C++03] via
|
||||
[classref boost::container::allocator_traits boost::container::allocator_traits]. This class
|
||||
[classref boost::container::allocator_traits boost::container::allocator_traits] including some
|
||||
C++17 changes. This class
|
||||
offers some workarounds for C++03 compilers to achieve the same allocator guarantees as
|
||||
`std::allocator_traits`.
|
||||
|
||||
@@ -1084,6 +1085,7 @@ use [*Boost.Container]? There are several reasons for that:
|
||||
* Massive dependency reorganization. Now [*Boost.Container depends on very basic utilities like Boost.Core
|
||||
and [*Boost.Intrusive]. Preprocessed code size have decreased considerably and compilation times have improved.
|
||||
* Added `nth` and `index_of` functions to containers with random-access iterators (except `basic_string`).
|
||||
* Added C++17's `allocator_traits<Allocator>::is_always_equal`.
|
||||
* 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"])].
|
||||
|
||||
Reference in new issue
Block a user