Commit Graph

726 Commits

Author SHA1 Message Date
Ion Gaztañaga
3fec38d9cc Fix -Wcast-qual 2025-11-03 00:12:16 +01:00
Ion Gaztañaga
5923493b1f Fix -Wsign-conversion 2025-11-03 00:11:52 +01:00
Ion Gaztañaga
1ef175aa91 Fix -Wcast-qual warnings. 2025-11-02 23:01:14 +01:00
Ion Gaztañaga
22bc5024d5 Implement erase_if for map and flat_map 2025-11-01 21:50:14 +01:00
Ion Gaztañaga
a7873e975d Add erase_if for set/flat_set 2025-11-01 11:49:49 +01:00
Ion Gaztañaga
5fea200894 Correct indentation for erase/erase_if 2025-11-01 10:36:44 +01:00
Ion Gaztañaga
6911e6adce Implement erase/erase_if for list and slist 2025-10-31 15:37:07 +01:00
Ion Gaztañaga
ec6364a3c5 Fix inserter function, it was inserting in reverse order 2025-10-31 15:35:26 +01:00
Ion Gaztañaga
3763c80ec6 Added C++20 remove and remove_if overloads to vector-like containers 2025-10-29 00:12:43 +01:00
Ion Gaztañaga
8b6bd59051 Fixes #321 ("devector does not work with pmr allocators") 2025-10-28 15:50:22 +01:00
Ion Gaztañaga
247ffd0336 Fixes #304 ("Usage of boost::container::small_vector with custom allocator") 2025-10-27 23:55:05 +01:00
Ion Gaztañaga
2170155cb9 Fixes #312 2025-10-27 09:07:47 +01:00
Ion Gaztañaga
cae7d2c306 Add missing <boost/container/throw_exception.hpp> include 2025-10-26 22:22:36 +01:00
Ion Gaztañaga
e18078f846 Define operator_new_allocate/operator_delete_deallocate helpers, taking care of __cpp_aligned_new and __cpp_sized_deallocation, and use them in new_allocator 2025-10-26 22:06:59 +01:00
Ion Gaztañaga
ef4626b531 Forward declare std::align_val_t 2025-10-26 21:33:07 +01:00
Ion Gaztañaga
bdad103aa5 Add missing include for true/false_type 2025-10-26 21:25:05 +01:00
Ion Gaztañaga
243b74cb9d - Refactor "prot_reallocate_map_and_nodes" "priv_reserve_elements_at_back" and "priv_reserve_elements_at_front"
- Use 1,5 growth factor for reservable deques
2025-10-08 00:43:04 +02:00
Ion Gaztañaga
0a2144896d Fix Options documentation issue with Doxygen 2025-09-29 14:51:38 +02:00
Ion Gaztañaga
2774b3c9ba Remove "ingroup" from doxygen documentation 2025-09-29 12:15:41 +02:00
Ion Gaztañaga
806aee2b7b Add experimental "reservable" option to deque. 2025-09-29 00:43:44 +02:00
Ion Gaztañaga
7115c0ae95 Fix incorrect ifdef for GCC pop_options 2025-09-29 00:42:46 +02:00
Ion Gaztañaga
d1e26b23f9 Make front/back_capacity public 2025-09-28 23:35:47 +02:00
Ion Gaztañaga
990e2b8842 Add front_capacity and back_capacity 2025-09-27 22:19:52 +02:00
Ion Gaztañaga
8470abf32d Comment default block size logic, round up default_block_start 2025-09-24 23:05:11 +02:00
Ion Gaztañaga
df4af0989c Implement the initial machinery to support "stored_size" option. 2025-09-22 00:35:20 +02:00
Ion Gaztañaga
473bff0c5b Make default block bytes dependent on the architecture's word-width 2025-09-21 11:42:28 +02:00
Ion Gaztañaga
85ea77309b Put range check in the first position to clean up code 2025-09-21 11:12:09 +02:00
Ion Gaztañaga
d877b36629 Make deque_iterator explicit instantiation friendly. 2025-09-21 07:51:51 +02:00
Ion Gaztañaga
c59f740c68 Put deque_iterator in the main namespace, like in vector 2025-09-21 07:31:49 +02:00
Ion Gaztañaga
c006897da0 Try workaround for GCC 12 C++03 failures 2025-09-20 12:29:16 +02:00
Ion Gaztañaga
5be25a65db Add new deque implementation. 2025-09-20 10:48:50 +02:00
Ion Gaztañaga
8834ab0880 Use selective BOOST_CONTAINER_FORCEINLINE on simple forwarding functions 2025-09-20 00:37:56 +02:00
m4xG4
900b58a26a added missing dots 2025-09-18 19:55:54 +02:00
m4xG4
3ad96419a5 fixed complexity documentation for static_vector clear 2025-09-18 19:46:22 +02:00
Ion Gaztañaga
814efb53d5 Remove redundant "value" in is_trivially_copy_assignable for std::pair 2025-09-07 20:42:21 +02:00
Ion Gaztañaga
9552828c54 Apply optimization traits also to std::pair 2025-09-07 19:23:40 +02:00
Ion Gaztañaga
7dbf9a1b07 Reinterpret_cast to void to silence potential warnings 2025-09-07 19:23:01 +02:00
Ion Gaztañaga
68fa752311 Merge branch 'develop' into revert-issue-209 2025-09-06 23:54:24 +02:00
Ion Gaztañaga
42d7f18d4e Forceinline some very trivial functions. 2025-09-06 12:45:26 +02:00
Ion Gaztañaga
ada5ee3076 Merge branch 'develop' of github.com:boostorg/container into develop 2025-09-06 12:40:34 +02:00
Ion Gaztañaga
9ad078f9b3 Add new algos and simplify template parameters 2025-09-06 12:40:29 +02:00
Ion Gaztañaga
f0708dedc9 Merge pull request #314 from nigels-com/resolve-clang-19-warnings
Resolve clang-19 warnings for Issue #300 - pointer to non-trivially copyable type
2025-09-06 12:26:24 +02:00
Ion Gaztañaga
d618e482a8 Merge pull request #316 from nigels-com/ifdef__cpp_sized_deallocation
__cpp_sized_deallocation is not always defined (clang is opt-in) for Issue #306
2025-09-06 12:20:07 +02:00
Nigel Stewart
bdce6c01fc Minor whitespace tidy-up 2025-09-05 16:30:25 +10:00
Nigel Stewart
a165f4919e Partial revert of changes for Issue #209 - compiler warnings
Issue #248 concerns reduced performance due to commit 0d5068a0cc
2025-09-05 16:25:39 +10:00
Nigel Stewart
f0b0dacf27 __cpp_sized_deallocation is not always defined (clang is opt-in) for Issue #306 2025-09-05 15:59:48 +10:00
Nigel Stewart
f6fdd0945c Resolve clang-19 warnings for Issue #300 - pointer to non-trivially copyable type 2025-09-05 12:06:11 +10:00
Ion Gaztañaga
7972bb2c97 Fixes #305: ("Warnings with -Wstrict-prototypes"). 2025-08-26 00:35:29 +02:00
Ion Gaztañaga
862ae36735 Fixes #310 ("flat_map: Mention correct type in documentation of emplace and emplace_hint" 2025-08-25 23:13:16 +02:00
Ion Gaztañaga
96653536f1 Fixes #309 ("Performance regression of boost::container::static_vector introduced in boost v1.86") 2025-08-14 20:14:32 +02:00