576 Commits

Author SHA1 Message Date
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
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
Dmitriy Babkov
2077adb0bc Fix documented Complexity of static_vector::reserve 2021-09-14 16:19:56 +03:00
Ion Gaztañaga
bcd41a1c64 - Add BOOST_CONTAINER_FORCEINLINE to trivial string internal functions
- Fixes #192 ("basic_string::clear() has poor codegen compared to STL implementations")
2021-09-13 14:19:38 +02:00
Ion Gaztañaga
1cc35bbc98 Fixes #187 ("flat_map::erase and unique keys") 2021-08-08 00:38:29 +02:00
Ion Gaztañaga
aaa2485ebf Fixes #188 ("Build fails when RTTI is disabled") 2021-08-08 00:06:01 +02:00
Ion Gaztañaga
15bed478eb Fixes #185 ("Including headers adds exports"), replacing BOOST_SYMBOL_EXPORT with BOOST_SYMBOL_VISIBLE. 2021-05-03 09:18:51 +02:00
Ion Gaztañaga
b7d48f1e08 Fixes #180: ("polymorphic_allocator's copy special member functions are not noexcept") 2021-04-21 00:53:43 +02:00
Ion Gaztañaga
ad7167c564 Fixes #150 ("Use std::contiguous_iterator_tag if available"), tested in MSVC and GCC. 2021-04-21 00:43:31 +02:00
Ion Gaztañaga
16cada57ea Fixes #184 ("Issues with custom exceptions implementation") 2021-04-19 21:52:55 +02:00
Ion Gaztañaga
1dc1e74668 Remove std::pair dependency for multiallocation_chain 2021-01-15 20:43:27 +01:00
Ion Gaztañaga
d2587837eb Use <boost/detail/interlocked.hpp> for interlocked operations 2021-01-15 18:05:15 +01:00
Ion Gaztañaga
26bf1d68be Add missing header for std::pair usage 2021-01-15 18:04:58 +01:00