Commit Graph

756 Commits

Author SHA1 Message Date
Ion Gaztañaga
c08943326f Merge branch 'develop' of github.com:boostorg/container into develop 2016-11-12 19:16:47 +01:00
Ion Gaztañaga
238f37db22 Remove duplicated forceinline in push_back overloads 2016-11-12 19:08:24 +01:00
Ion Gaztañaga
ede225c9d2 Disable forceinline for old compilers due to bugs. 2016-11-12 19:07:54 +01:00
Ion Gaztañaga
1f3174baa7 Make build_number_seq with O(logN) instantiations instead of O(N) 2016-11-12 19:07:34 +01:00
Ion Gaztañaga
0a719901b6 Avoid warnings of unused "piecewise_construct" 2016-11-12 19:06:44 +01:00
Ion Gaztañaga
d7bf947a4b Fix iterator_from_iiterator not value initializing its parent iterator 2016-11-12 19:06:23 +01:00
Miro Knejp
bf25231d5d Avoid -Wunreachable-code in do_allocate()
do_allocate() triggered the warning
"code will never be executed [-Wunreachable-code]"
in Clang.

Changed both do_allocate and do_deallocate to keep the existing
similarity.
2016-11-02 13:43:34 +01:00
Tobias Germer
3830745c9f Fix parameter types in copy_move_algo.hpp: iterator_traits::difference_type -> allocator_traits::size_type 2016-10-19 14:13:46 +02:00
Tobias Germer
5ce1ad2611 Fix parameter type of uninitialized_copy_alloc_n_source() 2016-10-18 13:42:56 +02:00
Rene Rivera
188162319a Add, and update, documentation build targets. 2016-10-10 11:39:48 -05:00
Rene Rivera
7f6382d137 Add, and update, documentation build targets. 2016-10-07 23:07:33 -05:00
Ion Gaztañaga
da17190798 Fix incomplete Trac #9689 ("Add piecewise_construct to boost::container") resolution. scoped_allocator_adaptor_test was missing pair construct overloads. 2016-09-06 14:05:46 +02:00
Ion Gaztañaga
29b16f1697 Add missing test 2016-09-05 14:58:01 +02:00
Ion Gaztañaga
fd089dce14 Add missing file 2016-09-05 14:52:12 +02:00
Ion Gaztañaga
f540b83ccd * Implemented merge operations for associative containers.
* Update tree-based containers to changes done in Intrusive internal utilities in order to fix Trac 12432.
2016-09-03 00:03:42 +02:00
Ion Gaztañaga
0617d0e538 Implemented P0084R2 (Emplace Return Type) 2016-08-29 16:53:44 +02:00
Ion Gaztañaga
9f9fdeaa9a Adapt to Intrusive change that removed unneeded template parameters to tree_value_compare. 2016-08-29 16:53:17 +02:00
Ion Gaztañaga
819cb9f1ce Fix typo. 2016-08-29 00:07:57 +02:00
Ion Gaztañaga
4298d1984b * Add missing extract() and insert(node_type) funtion to associative containers.
* Simplify select1st
2016-08-29 00:06:57 +02:00
Ion Gaztañaga
6ccf9dacae Allocator concept requires copy assignment. 2016-08-29 00:05:50 +02:00
Ion Gaztañaga
b6dbb1cb09 Fix Doxygen warnings about missing documentation in some classes. 2016-08-29 00:04:58 +02:00
Ion Gaztañaga
1467c51a4e Implemented missing try_emplace member for maps. 2016-08-26 01:47:32 +02:00
Ion Gaztañaga
6d2321a950 Merge branch 'develop' 2016-08-24 02:46:42 +02:00
Ion Gaztañaga
dcf4ac7960 Add missing include for boost::forward 2016-08-24 02:21:02 +02:00
Ion Gaztañaga
e1cb88b399 Add missing include for boost::forward 2016-08-24 02:19:58 +02:00
Ion Gaztañaga
db5c24e0e7 Fix piecewise_construct pair constructor for compilers with variadics and constructor forwarding. Current code unconditionally moves instead of forwarding. 2016-08-24 01:52:53 +02:00
Ion Gaztañaga
79a75f470e Add piecewise_construct construction to internal pair. 2016-08-23 02:14:19 +02:00
Ion Gaztañaga
0b98372af5 Silence most vexing parse warnings in clang. 2016-08-23 02:13:56 +02:00
Ion Gaztañaga
eb42811079 Delegating constructors detection, as Boost.Config does not yet provide it. 2016-08-23 02:13:30 +02:00
Ion Gaztañaga
c7407e34f6 Replaced int with std::size_t when building indexes. 2016-08-23 02:13:03 +02:00
Ion Gaztañaga
2d6f781a2f Implemented "insert_or_assign" for map-like containers. 2016-08-18 20:29:04 +02:00
Ion Gaztañaga
fb1be6fa75 Fix Trac #12117 ("flat_set constructor with ordered_unique_range") adding checks to constructors in debug mode
Fix typos on value_type checks in flat_[multi]map.
2016-08-15 23:22:57 +02:00
Ion Gaztañaga
324130703e Fix incorrect header guards 2016-08-15 23:21:10 +02:00
Ion Gaztañaga
d5adae2eda Fixes Trac #11802 ("Incorrect ordering after using insert() with ordered_range_t on a flat_multiset with a non-default sort order") 2016-08-12 00:43:16 +02:00
Ion Gaztañaga
b13ba0f911 Fixed Trac #9481 ("Minor comment typo in Boost.Container") 2016-08-11 11:25:11 +02:00
Ion Gaztañaga
37c1558a81 Fixed Trac #12256 (set<std::pair<int,int>>::insert cause compilation error in debug configuration in Visual Studio 2012) 2016-08-09 00:59:39 +02:00
Ion Gaztañaga
4122e722a4 Added constant static_vector<>/small_vector::static_capacity to use the configured capacity in constant expressions. 2016-08-03 00:18:11 +02:00
Ion Gaztañaga
649aba461e Fixes Trac #12296 ("boost::container::{deque,string} combine for a memory leak"). The use of trivial_destructor_after_move was incorrect in several contexts. 2016-08-02 00:49:38 +02:00
Ion Gaztañaga
225e2da77e Revised noexcept expressions of default and move constructors in all containers. 2016-08-01 23:49:51 +02:00
Ion Gaztañaga
b6d3906895 Use value-initialized pointers when null is required, as conversion from literal 0 is not guaranteed in smart pointers. 2016-07-31 23:16:08 +02:00
Ion Gaztañaga
8f136bc909 Add custom random_shuffle as some old compiler implementations self-swap some elements. 2016-07-31 23:15:39 +02:00
Ion Gaztañaga
e499ed490b Merge branch 'palebedev-fix-reserve-reuse' into develop 2016-07-31 23:12:16 +02:00
Ion Gaztañaga
8b06068cbb Merge branch 'fix-reserve-reuse' of https://github.com/palebedev/container into palebedev-fix-reserve-reuse 2016-07-31 23:11:56 +02:00
Ion Gaztañaga
f8d148bb0f Fix mixed CR & CRLF newlines. 2016-07-31 23:02:52 +02:00
Pavel A. Lebedev
0b75df9920 Allow reuse of buffer in reserve with v2 allocator
allocation_command uses expand_{fwd,bwd} flags and its result is later compared with the old pointer, but the old pointer was not passed for reuse.
2016-07-16 18:52:10 +03:00
Ion Gaztañaga
7e232bbc19 Fully qualified "unique" call to avoid ADL ambiguities with some older compilers. 2016-06-28 11:53:13 +02:00
Ion Gaztañaga
e7faf92113 Add missing <cassert> headers 2016-06-25 11:20:36 +02:00
Ion Gaztañaga
36f5aa842b Remove some instantiations to avoid hitting section limits when compiling with GCC. 2016-06-25 11:20:11 +02:00
Ion Gaztañaga
fcaf422092 Disable ADL for as_const, it triggers ambiguities in VC14 2016-06-25 11:19:32 +02:00
Ion Gaztañaga
c263c61635 Add missing container_common_tests.hpp header 2016-06-25 11:09:23 +02:00