Commit Graph

144 Commits

Author SHA1 Message Date
Ion Gaztañaga
d3eb21000b Derived flat_set from flat_tree to avoid redefining almost all functions and minimize instantiation of multiple function in debug mode. 2014-01-03 14:52:13 +01:00
Ion Gaztañaga
01486761a6 Added support for configurable tree-based associative containers. In addition to RB trees, AVL, Scapegoat and Splay trees are experimentally supported. 2014-01-03 13:26:57 +01:00
Ion Gaztañaga
2489010881 Document comparison operators for non tree associative containers. 2014-01-03 12:43:03 +01:00
Ion Gaztañaga
4dc3df6b6b Use "insert_after" instead of "insert" to avoid unneeded checks. 2014-01-03 10:37:09 +01:00
Ion Gaztañaga
fc8507b48c Some comments in the testcases separating test groups. 2013-12-26 13:10:54 +01:00
Ion Gaztañaga
9ac4ae6fdc Added a static assert to make sure that flat_[xxx]map::allocator_type::value_type is std::pair<Key, T>. Fixed some test cases failing to do that properly. 2013-12-24 19:00:52 +01:00
Ion Gaztañaga
95e6ba9839 Extracted key_node_compare from tree to tidy a bit the implementation and ease maintenance. 2013-12-24 18:58:01 +01:00
Ion Gaztañaga
ed0704797d Refactored tree cloners into a single standalone class to avoid unnecessary instantiations and simplify maintenance. 2013-12-24 12:58:28 +01:00
Ion Gaztañaga
41c2056ec6 - Modified relational operators to be friend inline definitions. This allows compilation checking when instantiating classes, avoids predeclarations and results in less verbose code.
- First to make associative containers' tree implementation configurable.
2013-12-23 23:34:28 +01:00
Ion Gaztañaga
f2947c115e Changes during Git migration:
- Added Extended Allocator support for Boost.Container.
- Improved Doxygen generated reference
- Fixed ticket #9338 ("VS2005 compiler errors in swap() definition after including container/memory_util.hpp")
2013-12-23 10:47:20 +01:00
Ion Gaztañaga
b1d4ef3a2e Fixes #9338
[SVN r86748]
2013-11-18 09:32:44 +00:00
Ion Gaztañaga
62227ae741 Fixed typo causing errors in clang builds.
[SVN r86045]
2013-09-30 04:47:29 +00:00
Ion Gaztañaga
59c5ed7781 Fixed error in default_init_allocator, it should not construct objects, only allocate raw memory.
[SVN r85999]
2013-09-29 11:39:34 +00:00
Ion Gaztañaga
232e18956a Fixed error for test_allocator::max_size(), now returns std::size_t(-1)
[SVN r85998]
2013-09-29 11:38:47 +00:00
Ion Gaztañaga
3921e08520 Tagged vector_alloc_holder constructors that allocate but don't initialize memory to improve maintainability.
[SVN r85997]
2013-09-29 11:37:30 +00:00
Ion Gaztañaga
5b9b2c26dc Implemented 2x grow factor for vector capacity
[SVN r85996]
2013-09-29 11:36:06 +00:00
Ion Gaztañaga
14f092ab00 Default initialization for vector-like containers
Complexity guarantees for associative container constructors and ordered input ranges
Added benchmark for associative containers
Fixes #9166

[SVN r85964]
2013-09-26 18:05:25 +00:00
Stephen Kelly
59b2793df7 Remove obsolete MSVC check from pragma guard
git grep -h -B1 "^#\s*pragma once" | grep -v pragma | sort | uniq

is now clean.

[SVN r85952]
2013-09-26 13:02:51 +00:00
Stephen Kelly
eb4b320fed Container: Fix two pragma guards.
Fix typo in the MSC_VER macro check

[SVN r85923]
2013-09-25 21:17:34 +00:00
Ion Gaztañaga
1e4be891d0 Remove unused header.
[SVN r85687]
2013-09-15 19:47:36 +00:00
Ion Gaztañaga
a7b88d804c Fixes #9009
[SVN r85660]
2013-09-12 22:00:51 +00:00
Ion Gaztañaga
ed57e6e619 Fixes #9108
[SVN r85658]
2013-09-12 21:50:38 +00:00
Ion Gaztañaga
7d69794f7e Removed SGI copyright as after rewrites it is no longer applicable.
[SVN r85627]
2013-09-09 19:36:10 +00:00
Ion Gaztañaga
5a4073434b Removed SGI copyright as after rewrites it is no longer applicable.
[SVN r85625]
2013-09-09 19:26:50 +00:00
Ion Gaztañaga
3e945acc9b Fixes #9092
[SVN r85612]
2013-09-08 18:58:21 +00:00
Ion Gaztañaga
027c92fad3 Fixes #9064
[SVN r85537]
2013-08-31 21:49:26 +00:00
Ion Gaztañaga
3d249fa728 Implemented SCARY iterators for all containers
[SVN r85308]
2013-08-11 21:36:19 +00:00
Ion Gaztañaga
d91dc0059b Fixes #8269
[SVN r85297]
2013-08-10 22:58:27 +00:00
Ion Gaztañaga
db9dfed107 Test update for #8892 + changelog updated.
[SVN r85169]
2013-07-29 21:40:30 +00:00
Ion Gaztañaga
4e92a024fb Fixes #8473
[SVN r85168]
2013-07-29 21:33:20 +00:00
Ion Gaztañaga
b1503a139e Fixes #8892.
[SVN r85167]
2013-07-29 21:32:23 +00:00
Ion Gaztañaga
fa05d4447c * Big refactoring in order to reduce template and debug symbol bloat.
* Fixes #8698
* Implemented SCARY iterators

[SVN r85165]
2013-07-28 22:10:37 +00:00
Ion Gaztañaga
8b60445c98 Trivial fix for empty ranges in node_alloc_holder
[SVN r84901]
2013-06-24 19:11:43 +00:00
Ion Gaztañaga
f7accef426 Trivial fix for empty ranges in node_alloc_holder
[SVN r84900]
2013-06-24 19:10:07 +00:00
Ion Gaztañaga
b0f89115b3 Added static_vector to non-standard containers section.
[SVN r84705]
2013-06-08 22:54:27 +00:00
Ion Gaztañaga
3c35c4e4f6 Update aknowledgements section
[SVN r84702]
2013-06-08 22:05:49 +00:00
Ion Gaztañaga
8ef4b5e1e4 Fixes #8553
[SVN r84359]
2013-05-18 21:04:54 +00:00
Ion Gaztañaga
1253e6b312 Fixes #8500
[SVN r84054]
2013-04-26 19:46:47 +00:00
Vicente J. Botet Escriba
a40fd4d49d Container: fix minor warning.
[SVN r83984]
2013-04-20 14:04:00 +00:00
Ion Gaztañaga
9c97e11949 Fixes operator- bug.
[SVN r83960]
2013-04-18 20:04:04 +00:00
Ion Gaztañaga
3e8acdcb8c Added bounds checking via BOOST_ASSERT to operator[]
[SVN r83797]
2013-04-07 19:11:22 +00:00
Ion Gaztañaga
409b3fa27b Removed unused images from documentation and fixed some qbk [endsect] tags.
[SVN r83728]
2013-04-02 22:44:23 +00:00
Ion Gaztañaga
e6828a448a Removed unused images from documentation and fixed some qbk [endsect] tags.
[SVN r83727]
2013-04-02 22:42:58 +00:00
Ion Gaztañaga
754736c83f Added missing test file.
[SVN r83571]
2013-03-25 22:35:27 +00:00
Ion Gaztañaga
7634deec5c Added insertion test to vector-like containers
[SVN r83469]
2013-03-16 19:31:32 +00:00
Ion Gaztañaga
6c13bd4918 Fixed error with repr swap
[SVN r83468]
2013-03-16 19:30:19 +00:00
Ion Gaztañaga
f1a4d7f82e Fixes #8294
[SVN r83467]
2013-03-16 16:19:08 +00:00
Ion Gaztañaga
9f25104101 Added missing <cstring> for ::memcpy
[SVN r83460]
2013-03-16 14:22:59 +00:00
Ion Gaztañaga
43b3b7112b Adapted test to new BOOST_TEST_THROWS utility
[SVN r83434]
2013-03-14 23:09:54 +00:00
Ion Gaztañaga
ff57d9287e Marked vector iterator and boost::interprocess::offset_ptr as contiguous storage iterators to speed up insertion in vector with trivially copyable types.
[SVN r83416]
2013-03-13 16:14:17 +00:00