Ion Gaztañaga
338bfb9072
Added a test for set that uses void* as a key.
2019-06-08 23:32:29 +02:00
Ion Gaztañaga
3618260489
fix GitHub Issue #35 ("key_of_value on treap_set seems to be broken in 1.69")
2019-02-12 00:23:56 +01:00
Ion Gaztañaga
cac7bd1b1e
With movelib's update, test no longer needed.
2019-01-03 01:21:03 +01:00
Andrey Semashev
f266cbb8b2
Added a test for set that uses void* as a key.
2018-12-14 18:50:38 +03:00
Ion Gaztañaga
2ab3421b17
In functions that modify data structures, take pointers by value instead of by reference, to avoid aliasing issues.
2018-09-27 10:14:16 +02:00
Ion Gaztañaga
99326f50fb
Fix clang 6.0 warnings in tests: unused members, suspicious return types
2018-09-18 14:26:31 +02:00
Ion Gaztañaga
4f9e77acfe
Use intrusive's type traits instead of container's traits
2017-11-07 00:46:44 +01:00
Ion Gaztañaga
db14782f0f
Boost Trac #12698
...
GitHub Pull #23
GitHub Pull #24
2017-06-08 14:02:21 +02:00
Ion Gaztañaga
018a39c433
Use directly boost::movelib::pointer_element/to_raw_pointer
2017-04-07 16:05:44 +02:00
Ion Gaztañaga
db15ff6c08
Allow non std::size_t size_type.
2017-04-06 23:32:39 +02:00
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