Commit Graph

381 Commits

Author SHA1 Message Date
Ion Gaztañaga
5de81689e4 Update changelog 2015-06-04 11:45:06 +02:00
Ion Gaztañaga
03cd71d8cc Update projects to new names and spacing errors. 2015-06-04 11:44:31 +02:00
Ion Gaztañaga
e7bc9f0c6b Use move-aware unique algorithm 2015-06-04 11:43:47 +02:00
Ion Gaztañaga
e198da5946 Use Intrusive's tree_value_compare class instead of duplicating code 2015-06-04 11:42:47 +02:00
Ion Gaztañaga
4f9d397507 Simplified swapping 2015-06-04 11:42:27 +02:00
Ion Gaztañaga
2ee17d108e Add capacity-related tests 2015-06-04 11:41:29 +02:00
Ion Gaztañaga
e56cfdc8c7 Force invariant checking in tests 2015-06-04 11:41:14 +02:00
Ion Gaztañaga
f02f5ec21f fix bug when erasing last elements 2015-06-04 11:40:46 +02:00
Ion Gaztañaga
097da3f73c Rename stable vector bench to avoid too long names that might give problems in some filesystems. 2015-06-04 11:39:53 +02:00
Ion Gaztañaga
ef54ab8784 Avoid branches in capacity() 2015-06-04 11:39:10 +02:00
Ion Gaztañaga
c37dcfb567 Merge branch 'timsong-cpp-patch-1' into develop 2015-04-19 11:06:06 +02:00
Ion Gaztañaga
4cdb8caca4 Merge branch 'patch-1' of https://github.com/timsong-cpp/container into timsong-cpp-patch-1 2015-04-19 11:05:51 +02:00
timsong-cpp
6bf6c553fd Fix bug in capacity()
See http://stackoverflow.com/q/29727368/2756719; the bit-twiddling version is not equivalent to the original `return (index_size ? (index_size - ExtraPointers + extra_capacity) : index_size);`; it ends up subtracting, rather than adding, `extra_capacity`.
2015-04-19 04:30:08 -04:00
Ion Gaztañaga
eb3a7835a1 Uncomment test code 2015-04-14 15:22:15 +02:00
Ion Gaztañaga
3246e11ca2 Added new experimental merge functions to speed up flat_xxx range insertion 2015-04-14 15:22:06 +02:00
Ion Gaztañaga
6477543f3b Updated to new meta-functions reused from Intrusive/Move 2015-04-14 15:21:46 +02:00
Ion Gaztañaga
64c2e787f7 Update changelog with last-minute 1.58 bugs 2015-04-14 15:03:44 +02:00
Ion Gaztañaga
d01cb72b3f Add iterator tests 2015-04-14 15:03:19 +02:00
Ion Gaztañaga
ad54608d78 Fix Trac #11139 boost-1.58.0 2015-03-31 11:23:14 +02:00
Ion Gaztañaga
02e8762afe Update small_vector documentation + update links to Howard Hinnant's papers. 2015-03-08 08:53:23 +01:00
Ion Gaztañaga
b31b738de7 Merge branch 'akumta-patch-1' into develop 2015-03-06 19:29:23 +01:00
akumta
c194a6794d Update copy_move_algo.hpp
For ticket# 11075: https://svn.boost.org/trac/boost/ticket/11075
2015-03-05 11:45:34 -08:00
Ion Gaztañaga
e5f069da2b Reenginered partially propagable allocator support in vector. storage_is_unpropagable is now the basic building block, which is simpler and less error-prone. 2015-03-01 22:25:27 +01:00
Ion Gaztañaga
d39b1c143c Add missing initializer list overload taking an additional allocator. 2015-02-28 23:46:08 +01:00
Ion Gaztañaga
8db0f4ad64 small_vector's initializer list constructor was not implemented and tested. 2015-02-28 00:17:46 +01:00
Ion Gaztañaga
6332a9f0bb Fix error with initializer_list test code, list has no "insert_after" 2015-02-28 00:17:05 +01:00
Ion Gaztañaga
1025ad2bbc Reuse vector's initializer_list test code 2015-02-28 00:15:27 +01:00
Ion Gaztañaga
63a83096a8 Add small function to test conversion to small_vector_base 2015-02-27 21:36:43 +01:00
Ion Gaztañaga
7239c8e262 Refactor initializer_list tests to avoid code duplication and add some missing initializer_list overload tests 2015-02-27 19:24:46 +01:00
Ion Gaztañaga
90b3af4229 Document small_vector_base 2015-02-27 19:21:58 +01:00
Ion Gaztañaga
3949963645 Fix "void multiset::insert(std::initializer_list<value_type> il)" calling base_t::insert_unique instead of base_t::insert_equal 2015-02-27 19:19:23 +01:00
Ion Gaztañaga
8cdfec7890 Add experimental small_vector class 2015-02-26 00:35:59 +01:00
Ion Gaztañaga
4609c78ccb Test more constructors 2015-02-26 00:34:37 +01:00
Ion Gaztañaga
6c5e527c60 Improve allocator propagation test with new constructors and refactor code to avoid too many wrappers. 2015-02-26 00:32:32 +01:00
Ion Gaztañaga
7160bea2aa Explicit constructor for allocator_destroyer 2015-02-26 00:27:53 +01:00
Ion Gaztañaga
4c2b352d7c update operator== with allocator_traits::equal 2015-02-26 00:26:53 +01:00
Ion Gaztañaga
342bd73aeb Implement storage_can_be_propagated and is_always_equal. 2015-02-26 00:25:14 +01:00
Ion Gaztañaga
c2ea5da716 Fix move constructors with unequal allocators and move/copy assignment of tree. 2015-02-26 00:22:23 +01:00
Ion Gaztañaga
d0750f4493 Rename parameters to avoid confusion when debugging. 2015-02-26 00:17:57 +01:00
Ion Gaztañaga
012781cc94 Try to support GCC's versioned std namespace 2015-02-26 00:16:47 +01:00
Ion Gaztañaga
7b3d70ad83 Fix pair's swap to avoid unqualified swap calls. 2015-02-26 00:16:13 +01:00
Ion Gaztañaga
5ea8e24923 Update "are_elements_contiguous" for move iterators. 2015-02-26 00:15:23 +01:00
Ion Gaztañaga
f47bf08ccc Try to definitely fix Trac Issue #9931 (flat_map::insert(ordered_unique_range_t...) fails with move_iterators") 2015-02-03 16:09:47 +01:00
Ion Gaztañaga
5455eb58bf Changelog updated with LWG #2210 2015-02-03 14:25:44 +01:00
Ion Gaztañaga
22f1d32f7b Addd new constructors to containers, according to C++14's new constructors taking allocator arguments. 2015-02-03 14:08:29 +01:00
Ion Gaztañaga
a7adc46a54 More changes to include boost/config.hpp before testing BOOST_HAS_PRAGMA_ONCE 2015-02-02 16:00:58 +01:00
Ion Gaztañaga
10d027aa9c Include boost/config.hpp before testinG BOOST_HAS_PRAGMA_ONCE. 2015-02-02 15:26:53 +01:00
Ion Gaztañaga
0f02b3b3bf Merge branch 'yuriks-smart-quotes' into develop 2015-02-01 00:11:11 +01:00
Ion Gaztañaga
fc0bfefab4 Merge branch 'smart-quotes' of https://github.com/yuriks/container into yuriks-smart-quotes 2015-02-01 00:10:39 +01:00
Yuri Kunde Schlesner
d6d554d395 Replace "smart quotes" Latin1 characters
They cause MSVC to print warnings every time this file is included if on
a Japanese locale.
2015-01-31 21:00:17 -02:00