Commit Graph

1101 Commits

Author SHA1 Message Date
Ion Gaztañaga
df03ffc8ec Fixes #241: flat_map should support same interface as std::map 2024-06-28 14:04:00 +02:00
Ion Gaztañaga
6f10e52887 Update changelog with #259 2024-06-16 23:35:03 +02:00
Ion Gaztañaga
4025288928 Update changelog with #266 and #245 2024-06-14 13:39:15 +02:00
Ion Gaztañaga
a070ce2325 Fixes #245 ("flat_tree::insert ordered range doesn't assert sorting") 2024-06-14 13:38:50 +02:00
Ion Gaztañaga
2d097fe45c Roll back and use dtl::value_init to maximize compatibility between std versions 2024-06-14 12:37:12 +02:00
Ion Gaztañaga
43ac22eff2 Add test for move assignable index operator 2024-06-14 12:36:36 +02:00
Ion Gaztañaga
f21c5fb723 Add missing detail/pair.hpp include 2024-06-14 12:35:23 +02:00
Ion Gaztañaga
d1d8c43c2d Add detail/pair header 2024-06-13 22:46:37 +02:00
Ion Gaztañaga
acd4f41eda Remove unneeded header 2024-06-13 22:46:23 +02:00
Ion Gaztañaga
7c9fb0d764 Include pair.hpp since dtl::pair is used 2024-06-13 14:36:18 +02:00
Ion Gaztañaga
a331d3387f Include detail/is_pair.hpp since forward declares boost::tuples::tuple 2024-06-13 14:32:56 +02:00
Ion Gaztañaga
a4c4c3b319 Define and use BOOST_CONTAINER_CONSTANT_VAR to support BOOST_INLINE_CONSTEXPR and static const global variables. 2024-06-06 14:39:49 +02:00
Ion Gaztañaga
33d28a12d1 Don't use C++03 in Macos regression tests 2024-06-06 12:37:46 +02:00
Ion Gaztañaga
0977e6b1d4 Use BOOST_STATIC_CONSTEXPR where applicable 2024-06-06 00:08:00 +02:00
Ion Gaztañaga
8217bc03bb Update changelog for Boost 1.86 2024-06-05 11:24:32 +02:00
Ion Gaztañaga
13be16a0c8 Don't use default-constructed KeyNodeCompare to support stateful comparison objects 2024-06-05 11:20:11 +02:00
Ion Gaztañaga
24c978b550 Clarify clear() does not alter capacith() 2024-06-04 14:00:31 +02:00
Ion Gaztañaga
aa35950ca0 Add shrink_to_fit tests to small_vector 2024-06-03 00:14:25 +02:00
Ion Gaztañaga
dad179ddf5 Fix incorrect memory free order in prot_shrink_to_fit_small, fixing a potential memory leak 2024-06-03 00:14:00 +02:00
Ion Gaztañaga
c7702d20eb Reformat small inline functions 2024-06-03 00:12:56 +02:00
Ion Gaztañaga
aa473160df Remove unused make_unique.hpp 2024-06-03 00:12:09 +02:00
Ion Gaztañaga
9da5dc49f7 Refactor move constructor and swap implementations for small_vector as in some cass unnecesary heap allocation was performed. Add tests for this. 2024-06-02 13:08:18 +02:00
Ion Gaztañaga
4142050048 Disable Wstringop-xxx false positives also in newer GCCs 2024-06-02 13:06:33 +02:00
Ion Gaztañaga
7ec7de921c Remove unused or unneeded _id member 2024-05-30 23:12:52 +02:00
Ion Gaztañaga
0219333fa1 Disable strict aliasing for C++03 implementations as type-punning is used to make value_type movable. 2024-05-30 23:07:57 +02:00
Ion Gaztañaga
f46ee4391f Protect struct POD definition with the same macro as the test 2024-05-28 10:51:33 +02:00
Ion Gaztañaga
2f0155224b Disable Wstringop-overflow also in GCC 11 2024-05-27 22:50:47 +02:00
Ion Gaztañaga
2ed37446bc Update changelog with #273 and #269 2024-05-23 23:55:34 +02:00
Ion Gaztañaga
9183729119 Update changelog with #277 and #280 2024-05-23 23:35:10 +02:00
Ion Gaztañaga
c9feaa6587 Merge pull request #277 from Neumann-A/patch-1
CMakeLists.txt: Remove dep on boost::static_assert
2024-05-23 23:34:34 +02:00
Ion Gaztañaga
397fbda8be Fixes #280 ("Several containers don't support non-movable types when move assigning") 2024-05-23 23:28:54 +02:00
Ion Gaztañaga
c38fe90e9a Reduce iterations for resgresion tests 2024-05-23 22:53:35 +02:00
Ion Gaztañaga
c09c9b5804 Avoid using transform iterator as null pointer dereferences might happen 2024-05-23 22:53:14 +02:00
Ion Gaztañaga
8d17978748 Document block_size option in deque_options 2024-05-21 14:16:18 +02:00
Ion Gaztañaga
292bab35c6 Revert accidental commit 2024-05-21 14:11:30 +02:00
Ion Gaztañaga
59d760c08b Document block_size option in deque_options. 2024-05-21 14:08:36 +02:00
Alexander Neumann
750033d8cf Remove dep on boost::static_assert 2024-05-18 08:27:55 +02:00
Ion Gaztañaga
20ad12f20e Remove UB in flat_map implementation when the implementation has a movable std::pair 2024-04-28 23:29:59 +02:00
Ion Gaztañaga
429024ca4e Add experimental (macro protected) support for lighter iterators 2024-04-16 11:36:04 +02:00
Ion Gaztañaga
03abe8c02c Return start() pointer by value to limit aliasing 2024-04-15 12:53:41 +02:00
Ion Gaztañaga
978bbb113a Clean force_ptr usage and use launder_cast 2024-04-15 12:51:15 +02:00
Ion Gaztañaga
56cc38f761 Update test_iterator_random test for vector-like containers 2024-04-15 11:57:44 +02:00
Ion Gaztañaga
c9e544df83 Fix typos and bad link 2024-03-29 22:05:04 +01:00
Ion Gaztañaga
6291e6c1bd Update quickbook version to 1.7 and fix detected errors in qbk 2024-03-18 00:01:22 +01:00
Ion Gaztañaga
6e697d7968 Rewrite default_init_test() to make harder for the compiler to optimize because we rely on UB to test memory was not initialized. boost-1.85.0.beta1 boost-1.85.0 2024-01-04 00:59:38 +01:00
Ion Gaztañaga
3c8c087eb7 Change internal_storage() implementation to avoid UBSan errors when N is zero. 2024-01-03 02:34:58 +01:00
Ion Gaztañaga
fb822f0435 Update 1.85 changelog 2024-01-03 02:33:19 +01:00
Ion Gaztañaga
514e88b376 Remove unneeded header 2024-01-03 02:32:41 +01:00
Ion Gaztañaga
7c74232a40 Remove Boost.StaticAsser dependency 2024-01-02 19:46:05 +01:00
Ion Gaztañaga
716ec48861 Add new toolsets and fix clang+libstdc++ incompatibility in Ubuntu 22.04 2024-01-02 17:16:42 +01:00