Commit Graph

1285 Commits

Author SHA1 Message Date
Ion Gaztañaga
73d91c52ce Implement transparent insert_or_assign (C++26) for map. 2025-11-03 22:42:55 +01:00
Ion Gaztañaga
c7a3d86206 Fix incorrect return value description for insert_or_assign with hint. 2025-11-03 22:38:45 +01:00
Ion Gaztañaga
d9404f6d3a Increase timeout value 2025-11-03 21:50:31 +01:00
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
7ba8bae1be Update changelog with #254 2025-11-01 22:12: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
a9f301bbb1 Add erase_if testing for vector and list 2025-11-01 10:05:50 +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
4f6c915f95 Add minimal instantiation to pmr compilation tests 2025-10-28 15:51:05 +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
1abb698715 Update chagenlog with #293 2025-10-26 23:11:35 +01:00
Ion Gaztañaga
0db85fbb77 Use operator_new_allocate/operator_delete_deallocate for test allocators 2025-10-26 22:23:04 +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
a4ae4a2192 Add "stored_size" to the custom deque example 2025-10-01 22:19:51 +02:00
Ion Gaztañaga
ad69850bb8 Add "stored_size" option to the "Configurable deques" chapter 2025-10-01 22:19:34 +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
5019f5c12b Change index organization to simplify it 2025-09-29 10:38:22 +02:00
Ion Gaztañaga
e68a3ac4d9 Add reservable deque to benchmark 2025-09-29 00:44:01 +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
8fc53b4728 Add default block size test 2025-09-24 23:19:27 +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
679ace9b81 Correct ">>" disambiguation for C++03 2025-09-22 00:34:54 +02:00
Ion Gaztañaga
a05500c3a2 Add construction from input_iterator 2025-09-21 21:19:15 +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
ea0af71ac8 Add allocator converting constructor + default constructor 2025-09-21 11:12:24 +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
1519d48135 Make small_size_type_allocator a template so that it can be rebinded 2025-09-21 11:00:08 +02:00
Ion Gaztañaga
08d1a17945 Rename CustomAllocator to small_size_type_allocator and move it to a common header so that other classes can use it 2025-09-21 08:20:11 +02:00
Ion Gaztañaga
5536aa59e1 Add test to check that a correctly "stored_size_type"-enabled vector is smaller than the original 2025-09-21 07:53:16 +02:00
Ion Gaztañaga
3ebb0662da Add deque_iterator explicit instantiation. 2025-09-21 07:52:26 +02:00
Ion Gaztañaga
d877b36629 Make deque_iterator explicit instantiation friendly. 2025-09-21 07:51:51 +02:00
Ion Gaztañaga
8bd7ebdd7f Add details about deque's new implementation 2025-09-21 07:33:02 +02:00
Ion Gaztañaga
c59f740c68 Put deque_iterator in the main namespace, like in vector 2025-09-21 07:31:49 +02:00