Commit Graph

1266 Commits

Author SHA1 Message Date
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
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
7495c1526a Remove old test/bench files 2025-09-20 09:49:21 +02:00
Ion Gaztañaga
8834ab0880 Use selective BOOST_CONTAINER_FORCEINLINE on simple forwarding functions 2025-09-20 00:37:56 +02:00
Ion Gaztañaga
e7d5add69e Merge pull request #319 from m4xG4/static_vector_clear_doc
fixed complexity documentation for static_vector clear
2025-09-18 22:26:38 +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
6be91b8331 Update changelog with #248 2025-09-07 20:44:01 +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
38c55cac0f Add 100% growth factor vector 2025-09-07 19:17:25 +02:00
Ion Gaztañaga
77fb53dbf9 Add new_deque and its test 2025-09-07 19:16:34 +02:00
Ion Gaztañaga
c9a4b78d4a Update changelog with 317 2025-09-07 19:15:44 +02:00
Ion Gaztañaga
0e845ae845 Update gitignore with experimental new_deque 2025-09-07 19:15:12 +02:00
Ion Gaztañaga
1f043d03b8 Merge pull request #317 from nigels-com/revert-issue-209
Partial revert of changes for Issue #209 - compiler warnings
2025-09-06 23:54:43 +02:00
Ion Gaztañaga
68fa752311 Merge branch 'develop' into revert-issue-209 2025-09-06 23:54:24 +02:00
Ion Gaztañaga
08ded32473 Increase range size to 8 and template the integer type to contemplate both trivial and non-trivial types. 2025-09-06 12:46:25 +02:00
Ion Gaztañaga
c982fe5989 Add some new erase tests 2025-09-06 12:45:49 +02:00