Commit Graph
123 Commits
Author SHA1 Message Date
Ion Gaztañaga ba5ecb7196 Fix test bug: Same bucket array was being used for two containers. 2016-11-12 21:17:00 +01:00
Ion Gaztañaga b0baf7dd14 Fix error in test with bucket_ptr. 2016-11-12 19:04:17 +01:00
Ion Gaztañaga 116272067b Fix error in nonhook_node due to missing copy-constructor and assignment implementstion 2016-11-12 19:03:59 +01:00
Ion Gaztañaga 6d38384e36 Document root()/croot() functions in tree-based containers, and add a test case for them. 2016-09-03 13:28:44 +02:00
Ion Gaztañaga 9ac060a6ae Fixed Trac #12432 ("Forced KeyOfValue creation when using custom compare on insert_check") 2016-09-03 00:01:55 +02:00
Ion Gaztañaga d5b81dc59a Add missing includes. 2016-09-03 00:01:02 +02:00
Ion Gaztañaga 36fb49abc9 Fix sg_[multi]set not working when merging from a set with a different comparison.
Update testcase to test merging from a different comparison.
2016-09-01 18:55:56 +02:00
Ion Gaztañaga 21a2107d9a * Implemented merge operations in ordered associative containers 2016-08-31 23:42:14 +02:00
Ion Gaztañaga 77c09ada0d Remove warnings about non-virtul destrutors in test 2016-08-31 23:41:02 +02:00
Ion Gaztañaga ef8e57ae1b Removed undefined behaviour when iterating backwards when using pointers. 2016-08-05 00:46:01 +02:00
Ion Gaztañaga 68c46450de Fixed Trac ticket #11476 ("has_member_function_callable_with.hpp is massively broken with BOOST_NO_CXX11_DECLTYPE") 2016-08-04 23:22:29 +02:00
Ion Gaztañaga 4546ffba1d As suggested in Trac #12229 ("intrusive::unordered_set<T>::rehash() broken) a new "full rehash" function is added to force rehashing of existing elements when keys are changed but the new keys respect some hash and equality invariants. 2016-07-31 14:11:49 +02:00
Ion Gaztañaga 4014562502 Fixes Trac #11994: Support intrusive container key extractors that return the key by value
Change tests to return key by value.
2016-07-04 22:11:52 +02:00
Ion Gaztañaga 4cf38987a8 Fixes Boost Trac #11992: "Add an overload of insert_check taking a key_type" 2016-03-01 21:22:28 +01:00
Ion Gaztañaga 381a062e23 Refactored tests to minimize instantiations and improve compilation times/memory for tests 2015-12-24 10:27:51 +01:00
Ion Gaztañaga 3c818c66a4 Fixed typo in CompleteSmartPtr::operator unspecified_bool_type() const 2015-10-18 22:00:29 +02:00
Ion Gaztañaga 4ef2cae00d Add conversion to bool to support the new default casting operations and avoid undefined behavior in castings. 2015-10-18 21:31:12 +02:00
Ion Gaztañaga 4ac2fa0d38 Reduced instantiations that were not adding considerable coverage. 2015-10-17 00:15:25 +02:00
Ion Gaztañaga 0f2714b8e8 BOOST_INTRUSIVE_MSVC_ABI_PTR_TO_MEMBER was incorrectly undefined so no virtual inheritance was tested in compilers that theoretically support it. 2015-09-07 18:24:16 +02:00
Ion Gaztañaga 50903857cb Add missing files 2015-06-05 19:40:07 +02:00
Ion Gaztañaga 51de75799b - Implemented map and multimap-like interfaces.
-  Refactored hashtable containers to reduce template instantiations.
2015-06-04 11:16:21 +02:00
Ion Gaztañaga bb94b03dca Add iterator tests to all containers. 2015-04-14 15:00:00 +02:00
Ion Gaztañaga 08bb0488a8 Use iterator_arrow_result to support testing raw pointers 2015-04-14 14:59:29 +02:00
Ion Gaztañaga 8522ff18e8 Add iterator test 2015-04-12 12:57:29 +02:00
Ion Gaztañaga dd385e0ec5 -> Use new Boost.Move meta utilities to avoid compilation errors in old compilers.
-> Implement equality operators as friend functions to make code clearer.
2015-04-12 12:56:04 +02:00
Ion Gaztañaga 667ec0bdfc Make sure boost/config.hpp is included before pragma once. 2015-02-01 23:15:14 +01:00
Ion Gaztañaga 3d7125d3db Refactored test to directly use the new header without preprocessor dependencies. 2015-01-02 18:41:53 +01:00
Ion Gaztañaga 757475e59c Removed trailing spaces. 2015-01-02 18:40:20 +01:00
Ion Gaztañaga a4f0c0c7b3 Reduced compile-time dependencies, headers, and the use of Boost.Preprocessor, specially for hooks and iterators. 2014-12-08 15:48:08 +01:00
Ion Gaztañaga adda517544 Use of boost::adl_move_swap.
Replaced <algorithm> with <functional> where needed
Added basic equal/lexicographical compare algorithms to avoid complex <algorithm> include and ADL problems in some compilers
2014-11-26 19:32:12 +01:00
Ion Gaztañaga 913f903d16 Avoid including <iterator>, use intrusive's own version to avoid ADL clashes and minimize some dependencies. 2014-11-25 18:43:16 +01:00
Ion Gaztañaga 414ca9f338 Break options.hpp dependencies, now hooks don't depend on heavy meta-machinery. 2014-10-18 17:02:23 +02:00
Ion Gaztañaga 7651f03385 Removed <.../config_begin.hpp> includes from tests to faithfully test what a user will compile 2014-10-18 16:59:16 +02:00
Ion Gaztañaga a2f5d31ad3 Split detail/utilities.hpp into 11 headers to minimize physical coupling and header dependencies 2014-10-13 21:46:47 +02:00
Ion Gaztañaga 7e4b7286ca Too many instantiations to test features. Removed some redundant ones. 2014-10-10 18:22:14 +02:00
Ion Gaztañaga d25ae5748e Simplified include dependencies to avoid too many preprocessed source. 2014-10-10 18:21:18 +02:00
Ion Gaztañaga f900e78b8a Removed unused parameter warnings. 2014-10-05 20:11:17 +02:00
Ion Gaztañaga d8d034661a Removed unused variables warnings. 2014-10-01 00:32:43 +02:00
Ion Gaztañaga 303ac69794 Replaced boost/move/move.hpp with a more lightweight boost/move/utility_core.hpp 2014-09-25 17:12:55 +02:00
Ion Gaztañaga 5c30cd1072 Fixed copy-paste error from copyright. 2014-09-24 15:30:57 +02:00
Ion Gaztañaga 1f24efd1ed Implemented N3644 (Null Forward Iterators) 2014-09-24 15:28:44 +02:00
Ion Gaztañaga 336b83e4b1 Added test for parent_from_member utility 2014-09-09 14:21:55 +02:00
Matei David a684df24bd check const containers 2014-08-14 16:27:21 -04:00
Matei David 8d33637971 Merge branch 'develop' into node-checkers 2014-08-14 12:34:25 -04:00
Matei David 3ebd69f44e implemented container integrity checkers 2014-08-14 12:28:24 -04:00
Ion Gaztañaga 0a03aa599a Reimplemented remove family for lists using new stable_partition algorithm. This allows less code duplication between lists with different options (constant_time_size, cache_list, safe/non-safe hooks, etc.). 2014-08-14 00:22:19 +02:00
Ion Gaztañaga 4a4b0edae4 Removed unneeded include and operator. 2014-08-14 00:12:18 +02:00
Ion Gaztañaga ddafb2d4ef Use intrusive utilities instead of boost utilities to limit dependencies. 2014-08-02 10:13:54 +02:00
Ion Gaztañaga 563eca32de Added support for node and value pointers non-convertible from raw references 2014-06-12 11:49:42 +02:00
Ion Gaztañaga 4390889bf0 Merge branch 'header-holder' of https://github.com/mateidavid/intrusive into mateidavid-header-holder 2014-06-12 11:25:52 +02:00