Commit Graph

756 Commits

Author SHA1 Message Date
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. 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
Ion Gaztañaga
077ccf2935 Merge branch 'develop' 2014-06-14 12:42:41 +02:00
Ion Gaztañaga
5afad7cd0c Added optimization for types that can be value initialized with memset. 2014-06-14 12:41:58 +02:00
Ion Gaztañaga
258c6ab2e0 Merge branch 'develop' 2014-06-13 10:51:59 +02:00
Ion Gaztañaga
9c582e906a Documentation fixes:
* allocator_traits was not properly placed in namespace boost::container.qbk
* Fixed some typos
* Added "Known Issues" section with move emulation problems.
2014-06-13 10:49:09 +02:00
Ion Gaztañaga
b6f8b0fa90 Merge branch 'develop' 2014-06-12 21:50:01 +02:00
Ion Gaztañaga
ac7fb5a86b Replaced incorrect "&*iterator" expressions (which fails with value_types with overloaded "operator&") with "iterator_to_raw_pointer" or "iterator_to_pointer" utilities. 2014-06-12 10:01:52 +02:00
Ion Gaztañaga
bf5c140180 Added missing "element_type" to the pseudo-pointer operator_arrow_proxy to be compatible with pointer_traits 2014-06-12 10:01:38 +02:00
Ion Gaztañaga
9ec026937b Use pointer traits to obtain element_type in "to_raw_pointer" 2014-06-11 15:54:54 +02:00
Ion Gaztañaga
c2100f349e Removed dead comment 2014-06-11 14:58:43 +02:00
Ion Gaztañaga
7f98fcb9bc Merge branch 'develop' 2014-06-09 06:42:03 +02:00
Ion Gaztañaga
11721001a3 Removed unused Boost.MPL and Boost.Iterator includes. 2014-06-09 06:40:39 +02:00
Ion Gaztañaga
7cc5fe6cc6 Merge branch 'develop' 2014-06-06 13:28:28 +02:00
Ion Gaztañaga
790a8798d4 Fixes Trac issue #9801 ("I can no longer create and iterator_range from a stable_vector") 2014-06-06 13:21:03 +02:00
Ion Gaztañaga
976cf1f689 Merge branch 'develop' 2014-05-28 15:57:47 +02:00
Ion Gaztañaga
8c1bfe2881 Removed trailing whitespaces 2014-05-28 15:50:13 +02:00
Ion Gaztañaga
bd6ffc603b Merge branch 'develop' 2014-04-26 20:07:09 +02:00
Ion Gaztañaga
a67982bd07 Fixes #9955 (Using memcpy with overlapped buffers in vector) 2014-04-26 13:14:36 +02:00
Ion Gaztañaga
390b897357 Merge branch 'develop' 2014-04-24 00:04:10 +02:00
Ion Gaztañaga
9b25c7134e * Fixed BOOST_CONTAINER_NOEXCEPT_IF(allocator_traits_type::propagate_on_container_move_assignment) missing ::value
* Optimized insert_equal(ordered_range_t,...) and insert_unique(ordered_unique_range_t, ...) for elements to be inserted in the end.

* Added range insertion overload (non-standard extension) to vector taking the number of elements to avoid reiterations with std::distance.
2014-04-23 23:18:18 +02:00
Ion Gaztañaga
71b99683b9 Reverted a (premature) optimization that can lead to out of bound write. 2014-04-21 22:52:06 +02:00
Ion Gaztañaga
5013f3fd69 Fixes #9931 ("flat_map::insert(ordered_unique_range_t...) fails with move_iterators") 2014-04-21 21:23:24 +02:00
Ion Gaztañaga
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
2014-04-21 13:59:49 +02:00
Ion Gaztañaga
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).
2014-04-17 00:06:59 +02:00
Ion Gaztañaga
ecd26ebcc9 Merge branch 'develop' 2014-04-16 14:44:42 +02:00