Commit Graph

  • 4298d1984b * Add missing extract() and insert(node_type) funtion to associative containers. * Simplify select1st Ion Gaztañaga 2016-08-29 00:06:57 +02:00
  • 6ccf9dacae Allocator concept requires copy assignment. Ion Gaztañaga 2016-08-29 00:05:50 +02:00
  • b6dbb1cb09 Fix Doxygen warnings about missing documentation in some classes. Ion Gaztañaga 2016-08-29 00:04:58 +02:00
  • 1467c51a4e Implemented missing try_emplace member for maps. Ion Gaztañaga 2016-08-26 01:47:32 +02:00
  • 6d2321a950 Merge branch 'develop' Ion Gaztañaga 2016-08-24 02:46:42 +02:00
  • dcf4ac7960 Add missing include for boost::forward Ion Gaztañaga 2016-08-24 02:21:02 +02:00
  • e1cb88b399 Add missing include for boost::forward Ion Gaztañaga 2016-08-24 02:19:58 +02:00
  • db5c24e0e7 Fix piecewise_construct pair constructor for compilers with variadics and constructor forwarding. Current code unconditionally moves instead of forwarding. Ion Gaztañaga 2016-08-24 01:52:53 +02:00
  • 79a75f470e Add piecewise_construct construction to internal pair. Ion Gaztañaga 2016-08-23 02:14:19 +02:00
  • 0b98372af5 Silence most vexing parse warnings in clang. Ion Gaztañaga 2016-08-23 02:13:56 +02:00
  • eb42811079 Delegating constructors detection, as Boost.Config does not yet provide it. Ion Gaztañaga 2016-08-23 02:13:30 +02:00
  • c7407e34f6 Replaced int with std::size_t when building indexes. Ion Gaztañaga 2016-08-23 02:13:03 +02:00
  • 2d6f781a2f Implemented "insert_or_assign" for map-like containers. Ion Gaztañaga 2016-08-18 20:29:04 +02:00
  • 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. Ion Gaztañaga 2016-08-15 23:22:57 +02:00
  • 324130703e Fix incorrect header guards Ion Gaztañaga 2016-08-15 23:21:10 +02:00
  • d5adae2eda Fixes Trac #11802 ("Incorrect ordering after using insert() with ordered_range_t on a flat_multiset with a non-default sort order") Ion Gaztañaga 2016-08-12 00:43:16 +02:00
  • b13ba0f911 Fixed Trac #9481 ("Minor comment typo in Boost.Container") Ion Gaztañaga 2016-08-11 11:25:11 +02:00
  • 37c1558a81 Fixed Trac #12256 (set<std::pair<int,int>>::insert cause compilation error in debug configuration in Visual Studio 2012) Ion Gaztañaga 2016-08-09 00:59:39 +02:00
  • 4122e722a4 Added constant static_vector<>/small_vector::static_capacity to use the configured capacity in constant expressions. Ion Gaztañaga 2016-08-03 00:18:11 +02:00
  • 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. Ion Gaztañaga 2016-08-02 00:49:38 +02:00
  • 225e2da77e Revised noexcept expressions of default and move constructors in all containers. Ion Gaztañaga 2016-08-01 23:49:51 +02:00
  • b6d3906895 Use value-initialized pointers when null is required, as conversion from literal 0 is not guaranteed in smart pointers. Ion Gaztañaga 2016-07-31 23:16:08 +02:00
  • 8f136bc909 Add custom random_shuffle as some old compiler implementations self-swap some elements. Ion Gaztañaga 2016-07-31 23:15:39 +02:00
  • e499ed490b Merge branch 'palebedev-fix-reserve-reuse' into develop Ion Gaztañaga 2016-07-31 23:12:16 +02:00
  • 8b06068cbb Merge branch 'fix-reserve-reuse' of https://github.com/palebedev/container into palebedev-fix-reserve-reuse Ion Gaztañaga 2016-07-31 23:11:56 +02:00
  • f8d148bb0f Fix mixed CR & CRLF newlines. Ion Gaztañaga 2016-07-31 23:02:52 +02:00
  • 0b75df9920 Allow reuse of buffer in reserve with v2 allocator Pavel A. Lebedev 2016-07-16 18:52:10 +03:00
  • 7e232bbc19 Fully qualified "unique" call to avoid ADL ambiguities with some older compilers. Ion Gaztañaga 2016-06-28 11:53:13 +02:00
  • e7faf92113 Add missing <cassert> headers Ion Gaztañaga 2016-06-25 11:20:36 +02:00
  • 36f5aa842b Remove some instantiations to avoid hitting section limits when compiling with GCC. Ion Gaztañaga 2016-06-25 11:20:11 +02:00
  • fcaf422092 Disable ADL for as_const, it triggers ambiguities in VC14 Ion Gaztañaga 2016-06-25 11:19:32 +02:00
  • c263c61635 Add missing container_common_tests.hpp header Ion Gaztañaga 2016-06-25 11:09:23 +02:00
  • e707b671fd Simplify tests to support old gcc 4.2 compilers Ion Gaztañaga 2016-06-25 11:05:40 +02:00
  • 2a04243de7 Add safety assertion Ion Gaztañaga 2016-06-25 11:05:07 +02:00
  • 153fd7f474 Add more is_class, is_class_or_union, is_enum specialization to pair to allow recursive containers and type traits intrinsics Ion Gaztañaga 2016-06-25 11:04:55 +02:00
  • a52684beea Some dispatch_uses_allocator overloads don't forward the allocator argument Ion Gaztañaga 2016-06-25 11:03:57 +02:00
  • b888d2ae47 Fixes Trac #12183 (GCC 6.1 thinks boost::container::string violates strict aliasing) Ion Gaztañaga 2016-05-16 16:59:25 +02:00
  • 132e57a348 Fixes Trac #12177 ("vector::priv_merge uses unqualified uintptr_t") Ion Gaztañaga 2016-05-13 23:50:34 +02:00
  • b8a06a24d5 Comment typo and tab Ion Gaztañaga 2016-05-13 22:17:23 +02:00
  • 873daf9a0c Fixed bug Trac #11170 Ion Gaztañaga 2016-05-13 22:17:03 +02:00
  • 3e82a27917 Fixes Trac #11912: "flat_map use of vector::priv_forward_range_insert_expand_backwards may cause move with same source" boost-1.61.0 Ion Gaztañaga 2016-02-24 22:27:53 +01:00
  • 310d8eaf10 Fixed Trac #11957: "static_vector::max_size() is higher than the capacity" Ion Gaztañaga 2016-02-24 14:45:44 +01:00
  • a7158c7975 Fixed Trac #12014: "boost::container::set can not insert const (ref) range" Ion Gaztañaga 2016-02-24 10:13:07 +01:00
  • 33b331da38 Reduce redundant instantiations to improve test build times Ion Gaztañaga 2016-02-23 13:29:46 +01:00
  • e6182f025c Reduce bench constants for debug modes Ion Gaztañaga 2016-02-23 13:29:15 +01:00
  • 530713139d Fix typo Ion Gaztañaga 2016-02-23 13:28:31 +01:00
  • 16ab9955f2 Reduce bench constants for debug modes Ion Gaztañaga 2016-02-23 13:28:17 +01:00
  • b436c91590 Fix Trac #11866: small_vector does not have range constructor. Added all missing constructors to small vector Ion Gaztañaga 2015-12-25 13:27:30 +01:00
  • 211c474eb4 small_vector was not being tested in some places due to copy-paste error. Ion Gaztañaga 2015-12-25 13:27:06 +01:00
  • 01deaa2de0 Use internal typedef when passing allocator as argument. Ion Gaztañaga 2015-12-25 13:26:20 +01:00
  • 4e2dfe138b Add workaround to correctly implement allocator_traits::destroy with small_vector_allocator<std::allocator> Ion Gaztañaga 2015-12-25 13:25:56 +01:00
  • e50751a42c Use lightweight_test instead of returns to improve error reports. Fix use-after-destroy bug in test. Ion Gaztañaga 2015-12-25 13:25:17 +01:00
  • c894ddf5a5 Use SFINAE in range constructors to detect iterators Ion Gaztañaga 2015-12-25 13:24:27 +01:00
  • 641d1a5d5a small_vector: Added copy/move constructor/assignments from small_vector_base Ion Gaztañaga 2015-12-24 13:46:00 +01:00
  • 75f7c8fa73 Introduced BOOST_CONTAINER_FORCEINLINE so that mandatory inlining can be disabled selectively Ion Gaztañaga 2015-12-24 10:22:38 +01:00
  • a3262c0ae7 Fix for Trac #11820 ("compiler error when using operator[] of map") Ion Gaztañaga 2015-12-24 01:14:10 +01:00
  • f1dbddc704 Update changelog with Github #33. Ion Gaztañaga 2015-12-23 10:31:40 +01:00
  • a3960a885c Merge branch 'muggenhor-include-string' into develop Ion Gaztañaga 2015-12-23 10:28:59 +01:00
  • 283d8ff717 Merge branch 'include-string' of https://github.com/muggenhor/boost-container into muggenhor-include-string Ion Gaztañaga 2015-12-23 10:28:49 +01:00
  • 7dbc9b43e6 Updated change log with Trac #11856 Ion Gaztañaga 2015-12-23 10:25:36 +01:00
  • 12e1243543 Merge branch 'gjasny-fix-declaration-changes-meaning' into develop Ion Gaztañaga 2015-12-23 10:10:53 +01:00
  • a4e9686f8a Fix declaration changes meaning error with GCC 4.4.7 (#11856) Jupp Müller 2015-12-23 09:18:51 +01:00
  • 08e768f1d8 Fix comment about self-assignment boost-1.60.0 Ion Gaztañaga 2015-11-06 21:49:55 +01:00
  • 629a2aa85c Use boost.container placement version in priv_construct Ion Gaztañaga 2015-10-31 00:53:59 +01:00
  • f60f0bde95 Make sure std::string constructor is available Giel van Schijndel 2015-10-30 14:23:37 +01:00
  • 4770c38b37 Merge branch 'praetorian20-patch-1' into develop Ion Gaztañaga 2015-10-24 21:41:08 +02:00
  • c4c237fabc update changelog with PR#29 Ion Gaztañaga 2015-10-24 21:40:51 +02:00
  • e50a8f7cdf Merge branch 'patch-1' of https://github.com/praetorian20/container into praetorian20-patch-1 Ion Gaztañaga 2015-10-24 21:39:06 +02:00
  • addd6ba619 Updated changelog with GitHub Pull #31 Ion Gaztañaga 2015-10-18 20:09:34 +02:00
  • 704250cfd7 Merge branch 'ya1gaurav-patch-1' into develop Ion Gaztañaga 2015-10-18 20:06:28 +02:00
  • 27e36e62d9 Merge branch 'patch-1' of https://github.com/ya1gaurav/container into ya1gaurav-patch-1 Ion Gaztañaga 2015-10-18 20:05:43 +02:00
  • c4505003c7 Minimize ifdef-ed code for BOOST_MOVE_HELPERS_RETURN_SFINAE_BROKEN Ion Gaztañaga 2015-10-17 10:17:30 +02:00
  • 1d5c367d62 Use BOOST_MOVE_HELPERS_RETURN_SFINAE_BROKEN as some compilers prefer return type SFINAE while others don't support it. Ion Gaztañaga 2015-10-17 09:39:56 +02:00
  • 0cfe2231f9 DL_SIZE_IMPL also dereference addr Gaurav 2015-10-14 16:07:50 +05:30
  • 743e60a2d3 Revert some unneeded changes for GCC 3.4. Ion Gaztañaga 2015-10-12 22:13:09 +02:00
  • d517bf46a8 - Simplified code using new priv_raw_begin(), renamed back_raw to priv_back_raw to match it. - Avoid dynamic allocation in priv_merge when there is enough capacity for new elements. Ion Gaztañaga 2015-10-12 18:57:44 +02:00
  • 7764e05444 Changes to support GCC 3.4 Ion Gaztañaga 2015-10-12 18:51:08 +02:00
  • f8a4f01a86 Fixed Trac #11698 ("Missing return statement in static_storage_allocator") Ion Gaztañaga 2015-09-30 22:39:44 +02:00
  • 79274e4aae Fixed Trac #11697 ("Wrong initialization order in tuple copy-constructor") Ion Gaztañaga 2015-09-30 22:35:17 +02:00
  • 85b2ed509b Added debug assertions via BOOST_ASSERT to check preconditions in several members. All checks are O(1) Ion Gaztañaga 2015-09-18 14:39:17 +02:00
  • 3f4a5dec6e Add some C++1 missing functions to string and a couple of debug assertions Ion Gaztañaga 2015-09-18 14:38:38 +02:00
  • f637fada71 Use newly refactored move/detail/std_fwd_xxx.hpp headers Ion Gaztañaga 2015-09-14 22:38:26 +02:00
  • 4d7c809ccc Merge branch 'mclow-develop' into develop Ion Gaztañaga 2015-09-10 22:36:15 +02:00
  • cd84bf99c5 Remove use of deprecated macros; use replacements Marshall Clow 2015-09-10 13:25:58 -07:00
  • 7071fbc7d8 Fixed unused argument warning in swap_resources(). Fixed changelog copy-paste error. Ion Gaztañaga 2015-09-10 12:09:08 +02:00
  • f1f97518d3 Fixed Track #11627 and #11628 Ion Gaztañaga 2015-09-09 09:48:09 +02:00
  • 33d2f0f7af Add Polymorphic Memory Resource utilities and rework the separately compiled library: Ion Gaztañaga 2015-09-07 19:16:46 +02:00
  • 77100c0bfc Removed commented code. Ion Gaztañaga 2015-09-07 19:08:48 +02:00
  • f9918cf967 Removed piecewise_construct_t as it's not used yet Ion Gaztañaga 2015-09-07 19:08:08 +02:00
  • b2c4f3c4cb Fixed shadowing warning Ion Gaztañaga 2015-09-07 19:07:32 +02:00
  • c6a5f248c8 Separated constructors of default constructed allocators Ion Gaztañaga 2015-09-07 19:07:05 +02:00
  • 8851580370 Documentation fixes Ion Gaztañaga 2015-09-07 19:06:45 +02:00
  • 08918078aa Add missing small vector's explicit instantiation test Ion Gaztañaga 2015-09-07 18:33:51 +02:00
  • 25f34506fd Doc fixes for flap_map complexity requirements Ashish Sadanandan 2015-08-14 16:27:19 -06:00
  • a91f6d317b Fixed wrong call to vector::merge_unique in insert_unique and used placement construction in priv_merge_in_new_buffer boost-1.59.0 Ion Gaztañaga 2015-07-21 23:40:52 +02:00
  • a7f60c1e8c Fix for Trac #11412 ("reserve() : null pointer passed to memmove") Ion Gaztañaga 2015-07-02 13:50:08 +02:00
  • 5d35aec80f Fixed Trac #11339 ("VC12 LNK2005 error with boost::container::adaptive_pool") Ion Gaztañaga 2015-06-13 16:44:46 +02:00
  • 61a2f49ef2 Fixes Trac #11388 (boost::container::list::emplace_back broken on Visual Studio 2010) Ion Gaztañaga 2015-06-12 23:51:58 +02:00
  • ee998fb5b1 Remove uninitialized variable warnings Ion Gaztañaga 2015-06-12 23:51:02 +02:00
  • 3501c604c5 Update 1.59 changelog Ion Gaztañaga 2015-06-09 22:39:05 +02:00