Commit Graph

1000 Commits

Author SHA1 Message Date
Ion Gaztañaga
4e4d2afef2 Remove "bitwise OR in bool" warning 2022-10-01 23:30:05 +02:00
Ion Gaztañaga
704bf10058 Refactor advanced insertion algorithms and implement a new devector insert strategy, moving elements to the middle if there is a reasonable free capacity at the other end of the container. 2022-09-20 00:22:19 +02:00
Ion Gaztañaga
8b27fefb8e throw_bad_alloc in expand_bwd_test_allocator::allocation_command in case of a bad request 2022-08-24 14:48:59 +02:00
Ion Gaztañaga
49a028bfe9 Add missing iterator_to_raw_pointer include 2022-08-24 14:47:51 +02:00
Ion Gaztañaga
7dd35c26d5 - Add null_scoped_destructor
- Enable null_scoped_destructor_n and scoped_destructor_n to work with non-raw pointers
2022-08-24 14:47:30 +02:00
Ion Gaztañaga
99091420ae Add experimental forward declaration of hash containers 2022-08-24 14:43:39 +02:00
Ion Gaztañaga
c49b11aec8 Disable buggy warnings using config begin/end 2022-08-24 14:42:30 +02:00
Ion Gaztañaga
f72b1deb1e Add test headers to the project filter 2022-08-24 14:41:59 +02:00
Ion Gaztañaga
7b858d5601 Add reserve variant
Add "emplace back" and "emplace near end"
2022-08-24 14:40:47 +02:00
Ion Gaztañaga
8372576905 - Add asserts to detect self-move bugs.
- Fix return type in life_count::check functions
2022-08-24 14:32:46 +02:00
Ion Gaztañaga
d98c21fc33 Fix potentially not-initialized variable warning 2022-08-24 14:31:28 +02:00
Ion Gaztañaga
5c03f64f9b Disable forceinline with MinGw, as it has bugs with forceinline 2022-08-24 14:30:04 +02:00
Ion Gaztañaga
4622a57994 Add make_iterator_advance from Intrusive 2022-08-24 14:29:16 +02:00
Ion Gaztañaga
97b122c951 Add devector-based flat_set/map to bench 2022-08-24 14:28:50 +02:00
Ion Gaztañaga
f92f8adafa Disable "-Wsign-conversion" in older GCCs to avoid false positives 2022-08-24 14:27:47 +02:00
Ion Gaztañaga
3be89a2910 Disable "-Wmaybe-uninitialized" for false positives in the core section 2022-08-24 14:26:52 +02:00
Ion Gaztañaga
c63fc4e17f Use logical OR instead of bitwise OR in check 2022-08-24 14:26:12 +02:00
Ion Gaztañaga
51c1d202cd Add missing iterator_to_raw_pointer include 2022-08-24 14:22:47 +02:00
Ion Gaztañaga
71a162dafd Delete outdated windows server 2016 runner 2022-08-02 23:58:43 +02:00
Ion Gaztañaga
725d95b314 Disable -Wstrict-aliasing as GCC-7 incorrectly flags it in release mode (aligned storage holds the type we want). boost-1.80.0 2022-08-01 11:29:48 +02:00
Ion Gaztañaga
66d044cf66 Disable Clang in 2a mode with libstdc++ becaus throws compilation errors in the standard library:
"/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_iterator.h:1923:5: error: requires clause differs in template redeclaration

(...)

/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_iterator.h:1619:14: note: previous template declaration is here"
2022-07-25 11:35:05 +02:00
Ion Gaztañaga
231dd48e70 Fixes #211 ("Use atomics for pmr get/set default resource") 2022-07-25 01:28:58 +02:00
Ion Gaztañaga
b8c59d595c Fixes #210: ("Use sized delete in boost::container::new_allocator...") 2022-07-16 20:55:42 +02:00
Ion Gaztañaga
0d5068a0cc Fixes #209 2022-07-16 17:26:09 +02:00
Ion Gaztañaga
d3494d28f6 Merge pull request #219 from wthrowe/small_vector_allocation_docs
Document small_vector allocation strategy
2022-07-16 16:34:12 +02:00
Ion Gaztañaga
b7725ea473 Fixes #218 ("small_vector static capacity is too small when not a multiple of 8 bytes") 2022-07-10 18:36:02 +02:00
Ion Gaztañaga
34cd414280 Fixes #221 ("flat_set and friends should offer a const sequence_type& sequence() const method (...)") boost-1.80.0.beta1 2022-06-25 20:29:16 +02:00
Ion Gaztañaga
4ea5cd7911 Fixes GitHub #223 ("Possible copypaste typo") 2022-06-25 19:49:54 +02:00
Ion Gaztañaga
d3ec5c677d Fixes #222 ("Fix incomplete type error when using list with pair") 2022-06-25 19:40:05 +02:00
Ion Gaztañaga
8a4620da17 Add experimental fastmod_buckets support 2022-06-13 00:50:37 +02:00
Ion Gaztañaga
ccf13f6770 Use Boost.Intrusive's key_of_value option to simplify the implementation 2022-06-13 00:49:43 +02:00
Ion Gaztañaga
39ce5633f3 Simplify operator!= 2022-06-13 00:46:27 +02:00
Ion Gaztañaga
7e70b700e0 Add default constructor to key_node_pred() 2022-06-13 00:46:01 +02:00
William Throwe
780372bc79 Document small_vector allocation strategy 2022-05-25 14:20:41 -04:00
William Throwe
cdad769e24 Fix documentation directive typo 2022-05-25 14:00:44 -04:00
Ion Gaztañaga
f548e87cf5 Fixes #217 ("Broken link in docs") 2022-05-15 08:49:53 +02:00
Ion Gaztañaga
d6badf63b0 Update work-in-progress testing hash container to latest Intrusive improvements 2022-05-04 23:43:27 +02:00
Ion Gaztañaga
d004191b45 Add BOOST_CONTAINER_FORCEINLINE to trivial functions 2022-05-04 23:42:40 +02:00
Ion Gaztañaga
def7a52269 Add BOOST_CONTAINER_FORCEINLINE to trivial functions 2022-05-04 23:38:58 +02:00
Ion Gaztañaga
44d0f716f3 Improve error handling explanation 2022-05-04 23:38:29 +02:00
Ion Gaztañaga
2b4480b9fd Fix compilation error due to using equal nat types. Use boost::move_detail::natN instead 2022-03-10 12:54:23 +01:00
Ion Gaztañaga
93741ee6f2 Add missing typenames for bucket_traits y bucket_type 2022-03-10 12:02:06 +01:00
Ion Gaztañaga
43a22fee95 Provide an initial bucket to the intrusive container for hash-based containers 2022-03-10 11:36:02 +01:00
Ion Gaztañaga
b113017930 Add minimal support for limited and experimental hash table 2022-03-10 10:30:24 +01:00
Ion Gaztañaga
f8595fc39f Rename Rename "real_key_of_value" to "tree_key_of_value" 2022-03-10 10:29:24 +01:00
Ion Gaztañaga
f5b2c7ba74 Fixes #214: ("string is not properly null-terminated in assignments") boost-1.79.0.beta1 boost-1.79.0 2022-03-06 22:37:41 +01:00
Ion Gaztañaga
78de6f2bf2 Fix sign conversion warning 2022-03-06 21:17:27 +01:00
Ion Gaztañaga
9182c07939 Add missing common_iterator_test from previous commit. 2022-01-12 01:40:42 +01:00
Ion Gaztañaga
3787fc3021 Fixes #207 ("boost.vector doesn't work with common_iterator") 2022-01-12 01:38:05 +01:00
Ion Gaztañaga
06e8ebd255 Update project files to VS2022 2022-01-07 22:26:49 +01:00