Commit Graph

  • e697122a2c Updated tests to avoid manual memory management. Replaced with unique_ptr and a reference. Normalized CheckEqualContainers to use references instead of pointers. Ion Gaztañaga 2014-09-23 17:30:31 +02:00
  • 4d5b9a80cf Added life cout and double destruction assertions to test integer-like classes. Changelog updated with double destruction bugs fix. Ion Gaztañaga 2014-09-23 17:29:26 +02:00
  • 5477125eeb Added /FIXED:NO flag to projects to make them compatible with some memory error detection tools Ion Gaztañaga 2014-09-23 17:28:13 +02:00
  • be9837fd54 Fix multiple destructor bug, pointer was not incremented in ~scoped_destructor_n() Ion Gaztañaga 2014-09-23 16:58:38 +02:00
  • 44d326e159 Added explicit guarantee for iterators to containers of incomplete types. Added iterators to the recursive container example. Ion Gaztañaga 2014-09-22 22:45:55 +02:00
  • f5e678fc70 Remove warning of unused variable. Ion Gaztañaga 2014-09-22 22:31:34 +02:00
  • 01c3f5d57e Merge branch 'mikael-s-persson-fix-incomp-type-iterators' into develop Ion Gaztañaga 2014-09-22 22:03:33 +02:00
  • 59b46cd338 Fixes a small issue that prevented the use of iterators of containers of incomplete types. Added iterators of incomp-types to unit-tests. mikael 2014-09-21 19:46:58 -04:00
  • 3bbb0bbe0e Fixed wrong BOOST_CONTAINER_VECTOR_ALLOC_STATS comments in vector_alloc_base, they should go to the derived vector class. Fixed error in void assign(FwdIt first, FwdIt last) when fwd expansion occurs, capacity was not being updated. Optimized erasure when the type has_trivial_destructor_after_move. Simplified a bit backwards expansion code. Optimized priv_uninitialized_construct_at_end calling memmove-aware functions instead of using a hand-written loop Ion Gaztañaga 2014-09-21 23:57:23 +02:00
  • 33c920d435 Removed unneeded includes. Ion Gaztañaga 2014-09-21 23:50:40 +02:00
  • 76fcab1a09 Use emplace instead or push_back in priv_insert_ordered_range Ion Gaztañaga 2014-09-20 17:30:09 +02:00
  • 1e40192e96 Added more tests for backwards expansion Ion Gaztañaga 2014-09-20 17:29:41 +02:00
  • 27f99047a8 Documentaion macros in adaptive_pool Ion Gaztañaga 2014-09-20 17:29:26 +02:00
  • d2bd31e4d0 Add new documentation macros and tested in vector. Ion Gaztañaga 2014-09-20 17:28:41 +02:00
  • 3025cc41b6 Replace "boost/move/utility.hpp" with "boost/move/utility_core.hpp" to minimize dependencies. Ion Gaztañaga 2014-09-17 23:36:23 +02:00
  • 5313086d54 Updated position insertion code. Fixed backwards expansion calling too many destructors nd added more tests to detect similar errors. Ion Gaztañaga 2014-09-17 21:52:34 +02:00
  • 0ccf576872 Updated range insertion code for enhanced performance. Ion Gaztañaga 2014-09-17 21:51:38 +02:00
  • f213f55f20 Includes: Updated detail/xxx.hpp includes to core/xxx.hpp, added some missing move/traits.hpp and removed some unused ones. Ion Gaztañaga 2014-09-17 21:49:47 +02:00
  • 2e009da1e8 Fixed some ordered insertion tags Ion Gaztañaga 2014-08-29 15:03:42 +02:00
  • abc8f80ea6 Remove BOOST_MOVABLE_BUT_NOT_COPYABLE from basic_string_base as it comflicts with is_copy_constructible and other utilities that inspect the internal tag looking for noncopyable types. Ion Gaztañaga 2014-08-29 14:19:54 +02:00
  • ff6e90a720 Removed incorrect deprecated function warning macros in MSVC compilers. Ion Gaztañaga 2014-08-29 12:54:45 +02:00
  • c4018f343a Merge branch 'matekm-initializer_list_support' into develop Ion Gaztañaga 2014-08-29 12:53:13 +02:00
  • aae1f9df27 Fixed compilation error in C++03 compilers and updated changelist with initializer_lists. Ion Gaztañaga 2014-08-29 12:52:41 +02:00
  • cbe191b5e3 add std::initializer_list support to flat_set and flat_multiset Robert Matusewicz 2014-08-28 13:14:59 +02:00
  • e2b815c196 add std::initializer_list support for flat_map and flat_multimap Robert Matusewicz 2014-08-28 09:42:08 +02:00
  • f8ebfa472a Add std::initializer_list to the following containers: Robert Matusewicz 2014-08-27 14:46:25 +02:00
  • d517cb9f1b Merge branch 'matekm-add_initializer_list_to_static_vector' into develop Ion Gaztañaga 2014-08-22 10:10:22 +02:00
  • 089edf9d35 add support for std::initializer_list to boost::container::static_vector Robert Matusewicz 2014-08-19 19:34:46 +02:00
  • 40806c367d Add metadata file. Daniel James 2014-08-18 14:58:08 +01:00
  • 791d53278a Merge branch 'matekm-vector_support_for_std_initializer_list' into develop Ion Gaztañaga 2014-08-17 10:54:35 +02:00
  • ac4dde2c6e add std::initializer_list support for boost::container::vector Robert Matusewicz 2014-08-15 20:15:01 +02:00
  • dd01853881 Erased tab & removed unneeded clear() in assignment Ion Gaztañaga 2014-08-15 18:13:05 +02:00
  • c03b2357ce Erased tab & removed unneeded clear() in assignment Ion Gaztañaga 2014-08-15 18:12:18 +02:00
  • a166923e83 Fixed documentation errors with "position", "pos", "hint" and "p" iterators indicating insertion/emplace position. Ion Gaztañaga 2014-08-15 17:20:57 +02:00
  • f1b3535e7c - Documented N1780 guarantees for associative containers Ion Gaztañaga 2014-08-15 17:20:18 +02:00
  • d0f8fe793c add support for std::initialize_list in stable_vector constructor, operator=, assign and insert methods Robert Matusewicz 2014-08-15 15:32:07 +02:00
  • 24cf58a0f0 Fixed wrong comment on required allocator type Ion Gaztañaga 2014-08-14 13:39:28 +02:00
  • dbca0d532a Merge branch 'jzmaddock-patch-2' into develop Ion Gaztañaga 2014-08-14 01:10:35 +02:00
  • dc5f18e3b1 Merge branch 'patch-2' of https://github.com/jzmaddock/container into jzmaddock-patch-2 Ion Gaztañaga 2014-08-14 01:10:26 +02:00
  • d51ef9db46 Added NO_MALLINFO and NO_MALLOC_STATS defines to dlmalloc to avoid dependencies. Implemented boost_cont_allocated_memory based on internal_mallinfo Ion Gaztañaga 2014-08-14 00:27:22 +02:00
  • d92b97e2c8 Added non-conformance chapter about self-referencing operations. Ion Gaztañaga 2014-08-14 00:25:53 +02:00
  • 321ad03daf Update Jamfile.v2 jzmaddock 2014-08-13 18:20:17 +01:00
  • 08343e5d5d Passed insert_vs_emplace to the regression tests group Ion Gaztañaga 2014-08-04 08:53:25 +02:00
  • 644bea4404 Added test for const prvalues in insert vs. emplace Ion Gaztañaga 2014-08-04 00:41:47 +02:00
  • 03582c4498 Workaround for MSVC compilers, that fail to properly handle template specializations with constness subtleties. Ion Gaztañaga 2014-08-03 22:08:59 +02:00
  • fab3df0a04 Added emplace optimization specializations for compilers with rvalue references but without variadic templates (e.g. MSVC10&11) Ion Gaztañaga 2014-08-03 11:09:54 +02:00
  • 90be67e81f Improved placement proxy to avoid temporary objects when constructing from values from the target type. Ion Gaztañaga 2014-08-02 21:30:39 +02:00
  • 08b26b5d99 Reintroduced tabs in VS project, as the IDE does not like spaces. Ion Gaztañaga 2014-08-02 21:29:20 +02:00
  • 8337efdfd7 Updated changelog Ion Gaztañaga 2014-08-02 10:15:55 +02:00
  • d849f80ea5 Removed tabs. Ion Gaztañaga 2014-07-30 16:32:55 +02:00
  • 85821789f7 Merge branch 'ibmsoe-aix_fix' into develop Ion Gaztañaga 2014-07-30 16:20:32 +02:00
  • 52af899129 Merge branch 'aix_fix' of https://github.com/ibmsoe/container into ibmsoe-aix_fix Ion Gaztañaga 2014-07-30 16:20:15 +02:00
  • 717959061e Make debug benchmarks faster reducing iterations. boost-1.56.0 Ion Gaztañaga 2014-07-20 14:43:58 +02:00
  • 941eb27e1d Updated and documented non-standard optimizations based on memset Ion Gaztañaga 2014-07-20 14:43:12 +02:00
  • 960d649e99 Added missing AIX definition for sched.h (previously out of scope). Axel Ismirlian 2014-07-16 15:48:12 -05:00
  • 819b365f5e Fixed unqualified iterator_to_pointer & to_raw_pointer calls that were causing compilation problems due to ADL. Ion Gaztañaga 2014-06-16 00:23:19 +02:00
  • 3b1d9af986 Merge branch 'develop' Ion Gaztañaga 2014-06-14 23:02:42 +02:00
  • 4ea1e46fcd Replaced several "addressof()" uses with the more correct "iterator_to_raw_pointer". Updated changelist with bug #9637. Ion Gaztañaga 2014-06-14 22:50:53 +02:00
  • 077ccf2935 Merge branch 'develop' Ion Gaztañaga 2014-06-14 12:42:41 +02:00
  • 5afad7cd0c Added optimization for types that can be value initialized with memset. Ion Gaztañaga 2014-06-14 12:41:58 +02:00
  • 258c6ab2e0 Merge branch 'develop' Ion Gaztañaga 2014-06-13 10:51:59 +02:00
  • 9c582e906a Documentation fixes: Ion Gaztañaga 2014-06-13 10:49:09 +02:00
  • b6f8b0fa90 Merge branch 'develop' Ion Gaztañaga 2014-06-12 21:50:01 +02:00
  • ac7fb5a86b Replaced incorrect "&*iterator" expressions (which fails with value_types with overloaded "operator&") with "iterator_to_raw_pointer" or "iterator_to_pointer" utilities. Ion Gaztañaga 2014-06-12 10:01:52 +02:00
  • bf5c140180 Added missing "element_type" to the pseudo-pointer operator_arrow_proxy to be compatible with pointer_traits Ion Gaztañaga 2014-06-12 10:01:38 +02:00
  • 9ec026937b Use pointer traits to obtain element_type in "to_raw_pointer" Ion Gaztañaga 2014-06-11 15:54:54 +02:00
  • c2100f349e Removed dead comment Ion Gaztañaga 2014-06-11 14:58:43 +02:00
  • 7f98fcb9bc Merge branch 'develop' Ion Gaztañaga 2014-06-09 06:42:03 +02:00
  • 11721001a3 Removed unused Boost.MPL and Boost.Iterator includes. Ion Gaztañaga 2014-06-09 06:40:39 +02:00
  • 7cc5fe6cc6 Merge branch 'develop' Ion Gaztañaga 2014-06-06 13:28:28 +02:00
  • 790a8798d4 Fixes Trac issue #9801 ("I can no longer create and iterator_range from a stable_vector") Ion Gaztañaga 2014-06-06 13:21:03 +02:00
  • 976cf1f689 Merge branch 'develop' Ion Gaztañaga 2014-05-28 15:57:47 +02:00
  • 8c1bfe2881 Removed trailing whitespaces Ion Gaztañaga 2014-05-28 15:50:13 +02:00
  • bd6ffc603b Merge branch 'develop' Ion Gaztañaga 2014-04-26 20:07:09 +02:00
  • a67982bd07 Fixes #9955 (Using memcpy with overlapped buffers in vector) Ion Gaztañaga 2014-04-26 13:14:36 +02:00
  • 390b897357 Merge branch 'develop' Ion Gaztañaga 2014-04-24 00:04:10 +02:00
  • 9b25c7134e * Fixed BOOST_CONTAINER_NOEXCEPT_IF(allocator_traits_type::propagate_on_container_move_assignment) missing ::value Ion Gaztañaga 2014-04-23 23:18:18 +02:00
  • 71b99683b9 Reverted a (premature) optimization that can lead to out of bound write. Ion Gaztañaga 2014-04-21 22:52:06 +02:00
  • 5013f3fd69 Fixes #9931 ("flat_map::insert(ordered_unique_range_t...) fails with move_iterators") Ion Gaztañaga 2014-04-21 21:23:24 +02:00
  • 0b720f82b4 Fixed #9916: "Allocator propagation incorrect in the assignment operator of most". Fixed #9932: "Missing assignment operator from related static_vector". Added missing details from issue #9915 Ion Gaztañaga 2014-04-21 13:59:49 +02:00
  • bffd6c036c Fixes #9915. Uses intrusive is_convertible in MSVC compilers. Removes some throw conditions in the documentation produced by the allocator copy constructor (as the standard requires no-throw guarantee for those). Ion Gaztañaga 2014-04-17 00:06:59 +02:00
  • ecd26ebcc9 Merge branch 'develop' Ion Gaztañaga 2014-04-16 14:44:42 +02:00
  • 4da327f7b1 Documented vector's weaker exception guarantees. Ion Gaztañaga 2014-04-16 14:44:15 +02:00
  • 0856f8a32e Documented vector's weaker exception safety guarantees. Ion Gaztañaga 2014-04-16 14:42:37 +02:00
  • 7ca156661f Sync'ed with deveop changes. Ion Gaztañaga 2014-02-14 22:58:38 +01:00
  • ae31857124 Merge branch 'develop' Ion Gaztañaga 2014-02-14 19:58:30 +01:00
  • 2015537778 Create first merge point for Git Ion Gaztañaga 2014-02-14 19:34:10 +01:00
  • ba596fc83c Fixes #9648, (string construction optimization) Ion Gaztañaga 2014-02-11 15:05:35 +01:00
  • edc4e6da80 Reverted alloc_lib extension change. It breaks Windows builds. Ion Gaztañaga 2014-02-10 21:26:20 +01:00
  • 30431adf1e Changed extended allocator file extension from C to C++ as some toolsets (like clang) don't ignore C++ options when compiling C files. Ion Gaztañaga 2014-02-09 23:20:44 +01:00
  • 4f2d7944fa Corrected test_suite name Ion Gaztañaga 2014-02-06 11:53:36 +01:00
  • a4c0188173 Divided set benchmark in several smaller benchmark files Ion Gaztañaga 2014-02-06 11:13:22 +01:00
  • a4b839628a Implemented unique associative containers' equal_range using lower_bound_range which is more efficient with heavy comparison functions. Ion Gaztañaga 2014-01-20 13:20:02 +01:00
  • abc50c7275 Improved unique associative container count function. Improved also flat_xxx's equal_range. Ion Gaztañaga 2014-01-19 19:18:57 +01:00
  • 6d6656fcc1 Improved set test with search functions and added set<string> test to benchmark. Ion Gaztañaga 2014-01-19 18:35:40 +01:00
  • 2b804c880b Fix GCC warning about unused typedef in release mode. Ion Gaztañaga 2014-01-05 22:37:09 +01:00
  • a93e23f22a Inherit set/multiset/map/multimap from tree to avoid redundant instantiations in debug mode and simplify maintenance. Ion Gaztañaga 2014-01-05 22:36:01 +01:00
  • 3af1cdefe0 Inherit flat_set/flat_multiset from flat_tree to avoid code instantiation in debug mode and several trivial functions. Declarations still there for doxygen documentation. Ion Gaztañaga 2014-01-05 22:29:33 +01:00
  • 4872931d29 Documented template parameters. Ion Gaztañaga 2014-01-05 22:25:12 +01:00
  • 2b8f88b034 Documented template parameters Ion Gaztañaga 2014-01-03 14:52:56 +01:00