Commit Graph

366 Commits

Author SHA1 Message Date
Ion Gaztañaga
40c440cca5 Add operation by operation testsuite. 2026-01-02 20:35:29 +01:00
Ion Gaztañaga
c1a6136513 Clean commented temporal testsuite. 2026-01-02 18:49:25 +01:00
Ion Gaztañaga
639337e079 Add missing string_view-like overloads for assign, insert and append. 2026-01-02 18:46:33 +01:00
Ion Gaztañaga
d8620c7784 Test new_delete_resource overalignment in all platforms 2025-12-26 11:00:48 +01:00
Ion Gaztañaga
52b34fb1da Add aligned new overloads and make sure zero-allocated malloc is not called (operator new requires non-null for zero-sized allocations). 2025-12-26 10:57:24 +01:00
Ion Gaztañaga
17828f8346 Use loop instead of an array to ease maintenance 2025-12-23 22:45:29 +01:00
Ion Gaztañaga
8ac7364a16 Fix test for platforms where "weak-alignment" allocations are implemented, small allocations can't return alignment smaller than "max_align". 2025-12-23 22:37:16 +01:00
Ion Gaztañaga
b892abf191 Add new_delete_resource test-suite 2025-12-23 19:29:54 +01:00
Ion Gaztañaga
313e8c7626 Remove in-progress file 2025-12-23 13:53:13 +01:00
Ion Gaztañaga
f29a4c8248 Make new_delete_resource_imp and null_memory_resource_imp "final" 2025-12-23 11:07:04 +01:00
Ion Gaztañaga
ac523b2c1e Add more BOOST_CONTAINER_ATTRIBUTE_NODISCARD attributes and fix warnings triggered by this attribute 2025-12-18 15:23:56 +01:00
Ion Gaztañaga
68b80e6ac7 Implemented C++20's uninitialized_construct_using_allocator and make_obj_using_allocator. 2025-12-17 22:00:52 +01:00
Ion Gaztañaga
f26b0ff58c Implement C++20's uninitialized_construct_using_allocator 2025-12-17 14:39:45 +01:00
Ion Gaztañaga
4f62d12541 Add "import testing ;" 2025-12-11 15:16:24 +01:00
Ion Gaztañaga
db43fc9228 Fix unused variable warning when compiling without exceptions 2025-12-09 22:37:39 +01:00
Ion Gaztañaga
ccc9efcd74 Make static_vector<T, N>'s destructor trivial if T is trivial. 2025-12-09 17:11:57 +01:00
Ion Gaztañaga
8bce1f9ecd Remove constructible_with_allocator_suffix/constructible_with_allocator_prefix from documentation as they are not needed now. Utilities will reman anonymous to maintain a minimum backwards compatibility. 2025-11-29 22:41:19 +01:00
Ion Gaztañaga
5039410be5 Add is_constructible implementation, compatible with several C++03 compilers 2025-11-29 21:48:11 +01:00
Ion Gaztañaga
dd5ad5672e Remove unneeded typename 2025-11-29 21:45:18 +01:00
Ion Gaztañaga
5353cfc736 Implement C++26 heterogeneous "insert" for set and flat_set. Range insertion functions in flat_tree are renamed to support some older compilers that have problems with SFINAE against the heterogeneous insert overload 2025-11-09 21:16:24 +01:00
Ion Gaztañaga
77699d11e6 Remove unneeded scope 2025-11-09 21:15:37 +01:00
Ion Gaztañaga
3a881a9e0b Remove unnecessary clear() for heterogeneous "extract" testing 2025-11-09 21:15:02 +01:00
Ion Gaztañaga
e4f42d03cb Implement heterogeneous "at()" operation for map/flat_map 2025-11-07 23:09:05 +01:00
Ion Gaztañaga
9f08eccc05 Implement C++26 heterogeneous operator[], refactor operator[] implementation. 2025-11-07 22:24:37 +01:00
Ion Gaztañaga
92d46cc151 Add C++26 transparent "try_emplace" to map and flat_map 2025-11-06 23:59:05 +01:00
Ion Gaztañaga
21725febaa Add C++23 transparent extract() method to set/multiset/map/multimap 2025-11-05 22:31:54 +01:00
Ion Gaztañaga
d179658a08 Add small test to set/flat_map for transparent erase 2025-11-05 15:04:50 +01:00
Ion Gaztañaga
f394ffc98a Implement transparent insert_or_assign (C++26) for flat_map 2025-11-04 23:51:36 +01:00
Ion Gaztañaga
73d91c52ce Implement transparent insert_or_assign (C++26) for map. 2025-11-03 22:42:55 +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
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
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
247ffd0336 Fixes #304 ("Usage of boost::container::small_vector with custom allocator") 2025-10-27 23:55:05 +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
806aee2b7b Add experimental "reservable" option to deque. 2025-09-29 00:43:44 +02:00
Ion Gaztañaga
8fc53b4728 Add default block size test 2025-09-24 23:19:27 +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
ea0af71ac8 Add allocator converting constructor + default constructor 2025-09-21 11:12:24 +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
5be25a65db Add new deque implementation. 2025-09-20 10:48:50 +02:00
Ion Gaztañaga
77fb53dbf9 Add new_deque and its test 2025-09-07 19:16:34 +02:00
Ion Gaztañaga
c982fe5989 Add some new erase tests 2025-09-06 12:45:49 +02:00