Commit Graph

807 Commits

Author SHA1 Message Date
Christian Mazakas
53a897008a Add conditional masking to silence msvc RTC failures 2022-11-22 10:26:08 -08:00
Christian Mazakas
5aff5b943f Fix Missing CTAD (#169)
* Update deduction tests to include missing guides for set

* Add missing deduction guides for set
2022-11-22 16:39:39 +01:00
Christian Mazakas
c37081b4a2 Add deduction tests for flat containers 2022-11-07 15:55:29 -08:00
Christian Mazakas
2949b37490 Flesh out deduction_tests to include unordered_[multi]set, update to use BOOST_TEST_TRAIT_SAME 2022-11-07 15:55:29 -08:00
Christian Mazakas
4310809025 Implement missing constructors outlined by LWG issue 2713 (#160)
* Harden initializer_list constructor tests

* Add tests for constructors as specified in LWG issue 2713

* Add missing constructors to unordered_flat_map

* Add missing constructors to unordered_flat_set

* Add missing constructors to unordered_[multi]map

* Add missing constructors to unordered_[multi]set
2022-11-05 13:08:29 +01:00
Christian Mazakas
a7156026b3 Fix typo, potential UB in overflow check and refactor to use BOOST_ASSERT_MSG() (#157) 2022-11-02 20:22:17 +02:00
Christian Mazakas
189e551dc7 Add test proving max_load() invariants (#156) 2022-11-01 17:05:18 +01:00
Peter Dimov
d3914d7101 Update hash_is_avalanching_test 2022-10-31 13:27:09 +02:00
Peter Dimov
d0fc14b8c5 Remove C++11 constructs from hash_traits.hpp 2022-10-30 13:40:20 +02:00
Peter Dimov
56b3700683 Add hash_is_avalanching_test.cpp 2022-10-30 12:58:57 +02:00
Peter Dimov
5386033e67 Update cmake_subdir_test 2022-10-29 18:23:59 +03:00
Christian Mazakas
0937f6443c Add rehash_stability() testing to catch erroneous behavior noted from bug #147 2022-10-27 08:17:10 -07:00
Christian Mazakas
1f781a407e Test cleanup 2022-10-24 15:05:49 -07:00
Christian Mazakas
fb1b1dfe2d Add missing copyright updates 2022-10-24 11:31:25 -07:00
Christian Mazakas
6c0d121e5b Update requirements for testing to include support for alignas(N) 2022-10-24 11:17:24 -07:00
Christian Mazakas
955dab4637 Add missing init_type overloads for insert(hint) 2022-10-24 11:17:05 -07:00
Christian Mazakas
375d7157b6 Add tests for missing typedefs in flat containers 2022-10-24 09:54:57 -07:00
Christian Mazakas
01053738eb Rewrite test constraints in terms of config checks 2022-10-24 08:21:54 -07:00
Christian Mazakas
2adab2be61 Fix signed-unsigned comparison warning 2022-10-21 15:37:51 -07:00
Christian Mazakas
e0b680ac29 Update insert(Iterator, Iterator) overloads to use emplace internally instead of insert()'ing 2022-10-21 11:24:34 -07:00
Christian Mazakas
ad1e3a49a5 Update tracking counts to be unsigned in init_type_insert_tests 2022-10-21 11:23:46 -07:00
joaquintides
1d15067ef2 removed sign conversion warnings 2022-10-21 13:14:39 +02:00
joaquintides
8a3e5dd918 added workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480 2022-10-21 11:13:13 +02:00
Christian Mazakas
703f8d1065 Delete boost-level headers as they're no longer considered idiomatic and update all tests to use the test/helpers/unorderd.hpp header where applicable 2022-10-20 15:25:40 -07:00
Christian Mazakas
fe32f153a2 Add draft of insert(init_type&&) for unordered_flat_map 2022-10-20 14:59:33 -07:00
Christian Mazakas
0ac4aeca50 Add swap_exception_tests for FOA, only testing weak exception guarantee 2022-10-19 11:05:09 -07:00
Christian Mazakas
776935f24d Reintroduce strong guarantee checking 2022-10-19 11:04:38 -07:00
Christian Mazakas
4de1be8911 Add the rest of the exception tests sans swap 2022-10-18 15:54:02 -07:00
Christian Mazakas
46065065be Temporarily disable strong checks for FOA 2022-10-18 15:54:02 -07:00
Christian Mazakas
0d6ebb4d2f Add copy_exception_tests for FOA 2022-10-17 13:27:36 -07:00
Christian Mazakas
aa41ab4195 Add constructor_exception tests for FOA 2022-10-17 13:19:29 -07:00
Christian Mazakas
9da61e9050 Add post_move_tests 2022-10-14 13:37:26 -07:00
Christian Mazakas
1de8801c08 Add scary_tests 2022-10-14 13:37:26 -07:00
Christian Mazakas
e16537d244 Add helper header to include map types based on FOA vs FCA 2022-10-14 13:37:26 -07:00
Christian Mazakas
14c190223c Add scoped_allocator tests 2022-10-14 13:37:26 -07:00
Christian Mazakas
e3c91ad812 Add erase_if tests 2022-10-14 13:37:26 -07:00
Christian Mazakas
454cb24cc8 Ease test requiremets for erase_if, require copyability now of supplied predicate 2022-10-14 13:37:26 -07:00
Christian Mazakas
5e24f6ef22 Add reserve_tests 2022-10-14 13:37:26 -07:00
Christian Mazakas
d02d4094e6 Add merge_tests 2022-10-14 13:37:26 -07:00
Christian Mazakas
d538f6184c Add equivalent_keys_tests 2022-10-13 11:59:44 -07:00
Christian Mazakas
7339f4264a Undo bad commits to Jamfile, gitignore 2022-10-13 11:58:20 -07:00
Christian Mazakas
87674d000b Update map_types to strip const from key, value parameters so that init_type is more efficient and extract() returns a const reference unconditionally 2022-10-13 11:39:18 -07:00
Christian Mazakas
c39ed8a5cf Add simple_tests 2022-10-12 15:19:11 -07:00
Christian Mazakas
d4f7939aae Add incomplete_test 2022-10-12 14:30:07 -07:00
Christian Mazakas
fc7b5573c1 Add link_test 2022-10-12 14:05:25 -07:00
Christian Mazakas
4399e8b360 Add noexcept tests 2022-10-12 13:39:23 -07:00
Christian Mazakas
3f9bd00f01 Add compile_map tests 2022-10-12 13:37:12 -07:00
Christian Mazakas
05b3025c0e Fix regression in how the table_iterator defines its reference type 2022-10-12 08:58:32 -07:00
Christian Mazakas
4a8d687778 Add compile_set tests with stub for merge() 2022-10-11 15:21:10 -07:00
Christian Mazakas
ccd40d0c44 Update fancy pointer's implementation of pointer_to to support all types by using boost::addressof() 2022-10-11 15:21:10 -07:00