Commit Graph
280 Commits
Author SHA1 Message Date
Ion Gaztañaga 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
2014-09-21 23:57:23 +02:00
Ion Gaztañaga 33c920d435 Removed unneeded includes. 2014-09-21 23:50:40 +02:00
Ion Gaztañaga 76fcab1a09 Use emplace instead or push_back in priv_insert_ordered_range 2014-09-20 17:30:09 +02:00
Ion Gaztañaga 1e40192e96 Added more tests for backwards expansion 2014-09-20 17:29:41 +02:00
Ion Gaztañaga 27f99047a8 Documentaion macros in adaptive_pool 2014-09-20 17:29:26 +02:00
Ion Gaztañaga d2bd31e4d0 Add new documentation macros and tested in vector. 2014-09-20 17:28:41 +02:00
Ion Gaztañaga 3025cc41b6 Replace "boost/move/utility.hpp" with "boost/move/utility_core.hpp" to minimize dependencies. 2014-09-17 23:36:23 +02:00
Ion Gaztañaga 5313086d54 Updated position insertion code.
Fixed backwards expansion calling too many destructors nd added more tests to detect similar errors.
2014-09-17 21:52:34 +02:00
Ion Gaztañaga 0ccf576872 Updated range insertion code for enhanced performance. 2014-09-17 21:51:38 +02:00
Ion Gaztañaga f213f55f20 Includes: Updated detail/xxx.hpp includes to core/xxx.hpp, added some missing move/traits.hpp and removed some unused ones. 2014-09-17 21:49:47 +02:00
Ion Gaztañaga 2e009da1e8 Fixed some ordered insertion tags 2014-08-29 15:03:42 +02:00
Ion Gaztañaga 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. 2014-08-29 14:19:54 +02:00
Ion Gaztañaga ff6e90a720 Removed incorrect deprecated function warning macros in MSVC compilers. 2014-08-29 12:54:45 +02:00
Ion Gaztañaga c4018f343a Merge branch 'matekm-initializer_list_support' into develop 2014-08-29 12:53:13 +02:00
Ion Gaztañaga aae1f9df27 Fixed compilation error in C++03 compilers and updated changelist with initializer_lists. 2014-08-29 12:52:41 +02:00
Robert Matusewicz cbe191b5e3 add std::initializer_list support to flat_set and flat_multiset 2014-08-28 13:15:14 +02:00
Robert Matusewicz e2b815c196 add std::initializer_list support for flat_map and flat_multimap 2014-08-28 13:15:10 +02:00
Robert Matusewicz f8ebfa472a Add std::initializer_list to the following containers:
* deque
* map
* multimap
* set
* multiset
* list
* slist

Tested on clant and g++
2014-08-27 17:34:25 +02:00
Ion Gaztañaga d517cb9f1b Merge branch 'matekm-add_initializer_list_to_static_vector' into develop 2014-08-22 10:10:22 +02:00
Robert Matusewicz 089edf9d35 add support for std::initializer_list to boost::container::static_vector 2014-08-19 20:23:14 +02:00
Daniel James 40806c367d Add metadata file. 2014-08-18 14:58:08 +01:00
Ion Gaztañaga 791d53278a Merge branch 'matekm-vector_support_for_std_initializer_list' into develop 2014-08-17 10:54:35 +02:00
Robert Matusewicz ac4dde2c6e add std::initializer_list support for boost::container::vector 2014-08-15 20:25:16 +02:00
Ion Gaztañaga dd01853881 Erased tab & removed unneeded clear() in assignment 2014-08-15 18:13:05 +02:00
Ion Gaztañaga c03b2357ce Erased tab & removed unneeded clear() in assignment 2014-08-15 18:12:18 +02:00
Ion Gaztañaga a166923e83 Fixed documentation errors with "position", "pos", "hint" and "p" iterators indicating insertion/emplace position. 2014-08-15 17:20:57 +02:00
Ion Gaztañaga f1b3535e7c - Documented N1780 guarantees for associative containers 2014-08-15 17:20:18 +02:00
Robert Matusewicz d0f8fe793c add support for std::initialize_list in stable_vector constructor, operator=, assign and insert methods 2014-08-15 15:32:07 +02:00
Ion Gaztañaga 24cf58a0f0 Fixed wrong comment on required allocator type 2014-08-14 13:39:28 +02:00
Ion Gaztañaga dbca0d532a Merge branch 'jzmaddock-patch-2' into develop 2014-08-14 01:10:35 +02:00
Ion Gaztañaga dc5f18e3b1 Merge branch 'patch-2' of https://github.com/jzmaddock/container into jzmaddock-patch-2 2014-08-14 01:10:26 +02:00
Ion Gaztañaga d51ef9db46 Added NO_MALLINFO and NO_MALLOC_STATS defines to dlmalloc to avoid dependencies. Implemented boost_cont_allocated_memory based on internal_mallinfo 2014-08-14 00:27:22 +02:00
Ion Gaztañaga d92b97e2c8 Added non-conformance chapter about self-referencing operations. 2014-08-14 00:25:53 +02:00
jzmaddock 321ad03daf Update Jamfile.v2
Fix path to images used when building PDF.
2014-08-13 18:20:17 +01:00
Ion Gaztañaga 08343e5d5d Passed insert_vs_emplace to the regression tests group 2014-08-04 08:53:25 +02:00
Ion Gaztañaga 644bea4404 Added test for const prvalues in insert vs. emplace 2014-08-04 00:41:47 +02:00
Ion Gaztañaga 03582c4498 Workaround for MSVC compilers, that fail to properly handle template specializations with constness subtleties. 2014-08-03 22:08:59 +02:00
Ion Gaztañaga fab3df0a04 Added emplace optimization specializations for compilers with rvalue references but without variadic templates (e.g. MSVC10&11) 2014-08-03 11:09:54 +02:00
Ion Gaztañaga 90be67e81f Improved placement proxy to avoid temporary objects when constructing from values from the target type.
Added testcase based on Howard Hinnant's "Insert vs. Emplace" article.
2014-08-02 21:30:39 +02:00
Ion Gaztañaga 08b26b5d99 Reintroduced tabs in VS project, as the IDE does not like spaces. 2014-08-02 21:29:20 +02:00
Ion Gaztañaga 8337efdfd7 Updated changelog 2014-08-02 10:15:55 +02:00
Ion Gaztañaga d849f80ea5 Removed tabs. 2014-07-30 16:32:55 +02:00
Ion Gaztañaga 85821789f7 Merge branch 'ibmsoe-aix_fix' into develop 2014-07-30 16:20:32 +02:00
Ion Gaztañaga 52af899129 Merge branch 'aix_fix' of https://github.com/ibmsoe/container into ibmsoe-aix_fix 2014-07-30 16:20:15 +02:00
Ion Gaztañaga 717959061e Make debug benchmarks faster reducing iterations. boost-1.56.0 2014-07-20 14:43:58 +02:00
Ion Gaztañaga 941eb27e1d Updated and documented non-standard optimizations based on memset 2014-07-20 14:43:12 +02:00
Axel Ismirlian 960d649e99 Added missing AIX definition for sched.h (previously out of scope). 2014-07-16 15:48:12 -05:00
Ion Gaztañaga 819b365f5e Fixed unqualified iterator_to_pointer & to_raw_pointer calls that were causing compilation problems due to ADL. 2014-06-16 00:23:19 +02:00
Ion Gaztañaga 3b1d9af986 Merge branch 'develop' 2014-06-14 23:02:42 +02:00
Ion Gaztañaga 4ea1e46fcd Replaced several "addressof()" uses with the more correct "iterator_to_raw_pointer".
Updated changelist with bug #9637.
2014-06-14 22:50:53 +02:00