Commit Graph

587 Commits

Author SHA1 Message Date
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
725d95b314 Disable -Wstrict-aliasing as GCC-7 incorrectly flags it in release mode (aligned storage holds the type we want). 2022-08-01 11:29:48 +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 (...)") 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
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") 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
3787fc3021 Fixes #207 ("boost.vector doesn't work with common_iterator") 2022-01-12 01:38:05 +01:00
Ion Gaztañaga
2e583241c1 Fixes #204 ("Inconsistent noexcept-ness of static_vector::reserve"). 2022-01-07 11:15:27 +01:00
Ion Gaztañaga
cf3d6d3c51 Fixes #199 ("Apply LWG issue 3471") 2022-01-06 23:33:54 +01:00
Ion Gaztañaga
19e68ee050 Check Boost.Move's BOOST_MOVE_CONTIGUOUS_ITERATOR_TAG before using contiguous_iterator_tag 2022-01-04 16:44:07 +01:00
Ion Gaztañaga
88b4cf09d9 Forward declare Dinkumware Stdlib's "struct _Nil" in is_pair.hpp instead of pair.hpp 2022-01-04 16:29:59 +01:00
Ion Gaztañaga
15d61d6d26 Refactor node implemenations from 3 (slist_node, list_node and tree_node) to a single base_node:
- To avoid unneeded includes, is_pair is factored out from pair.hpp implementation
- Fixed bug where value_types inside nodes were not allocator-ware destructed.
- Changed scoped utilities to handle new clases
2022-01-04 00:41:34 +01:00
Ion Gaztañaga
30a4508371 Remove incorrect pair declaration 2022-01-04 00:37:07 +01:00
Ion Gaztañaga
576e15d6f6 Increase minimum version for forceinline usage in MSVC as bad code generation was detected in some cases 2022-01-04 00:24:27 +01:00
Ion Gaztañaga
b6020f5d73 Use BOOST_MOVE_TO_LV in pair to avoid potential UB 2022-01-02 00:26:44 +01:00
Ion Gaztañaga
2ed03bcba5 Delete forceinline attribute to the allocation function 2022-01-02 00:07:59 +01:00
Ion Gaztañaga
a111e9f369 Use BOOST_CONTAINER_FORCEINLINE with GCC > 5 due to some code generation errors detected in MinGW 2022-01-02 00:07:42 +01:00
Ion Gaztañaga
ef0eba34f6 Fix potential null pointer in memmove warning for GCC 2021-12-30 12:51:53 +01:00
Ion Gaztañaga
4301005b25 Remove some Wmaybe-uninitialized warnings for GCC 11 2021-12-29 23:43:44 +01:00
Ion Gaztañaga
ec73bd71e1 Fix -Wshadow warnings 2021-12-29 17:30:15 +01:00
Ion Gaztañaga
0e675a241a Fix maybe uninitilized read warnings.
Fix initial allocation functions
2021-12-29 17:29:48 +01:00
Ion Gaztañaga
3f76f9fdf7 Fixes #206 ("operator-> on static_vector::iterator causes cast alignment warning") 2021-12-28 15:17:15 +01:00
Ion Gaztañaga
ea3521bf14 Fix -Wshadow warnings 2021-12-27 14:40:29 +01:00
Ion Gaztañaga
40735223d5 Added BOOST_OVERRIDE according to -Wsuggest-override 2021-12-27 01:01:10 +01:00
Ion Gaztañaga
f6a03fd3f2 Fixes #197 ("small_vector::swap causes spurious allocations and suboptimal performance") 2021-11-01 00:19:16 +01:00
Ion Gaztañaga
7f35ef420e Support Clang's -Wconversion -Wfloat-conversion -Wsign-conversion with -Werror 2021-10-20 00:18:05 +02:00
Ion Gaztañaga
dad2cb2d02 Support GCC's -Wconversion -Wfloat-conversion -Warith-conversion -Wsign-conversion warnings. 2021-10-16 15:57:47 +02:00