Commit Graph
36 Commits
Author SHA1 Message Date
Michele Caini 1280367a35 test: cleanup 2023-09-19 09:27:01 +02:00
Michele Caini ccea4c920a memory: code coverage 2023-01-11 15:54:56 +01:00
Michele Caini ea901cbfa0 test: code coverage 2022-11-09 12:15:03 +01:00
Michele Caini 9f22a3e23a test: suppress a few warnings (memory) 2022-11-09 12:15:00 +01:00
Michele Caini 4398c962e7 memory:
* use ENTT_ASSERT_CONSTEXPR
* turn the power-of-two toolset into a constexpr one as it ought to be
2022-10-22 19:10:40 +02:00
Michele Caini 57ad7696be memory: turn the power-of-two/fast_mod toolset into a non-constexpr one 2022-10-21 11:01:18 +02:00
Michele Caini 7c58c83ee0 memory: review propagate_on_container_swap 2022-10-21 10:57:37 +02:00
Michele Caini d83e818517 test: avoid using aligned_storage_t if possible (see #919) 2022-09-02 15:23:47 +02:00
Michele Caini 83ecd2d1d9 test: suppress all death tests in release 2022-07-29 10:49:03 +02:00
Michele Caini 59b0dc6735 test: minor changes 2022-02-25 14:09:22 +01:00
Michele Caini b093e82db3 memory: uninitialized_construct_using_allocator (waiting for C++20) 2022-02-23 09:41:32 +01:00
Michele Caini cdaced4df6 memory: uses_allocator_construction_args pairs support 2022-02-23 00:19:55 +01:00
Michele Caini a205e7ada9 test: it's not a good idea to use discarded values, the sanitizer may complain :) 2022-02-22 09:55:03 +01:00
Michele Caini 07767a09d9 doc: fixed typo 2022-02-22 08:40:25 +01:00
Michele Caini 5cf0ba079f memory: make_obj_using_allocator utility (waiting for C++20) 2022-02-21 16:31:36 +01:00
Michele Caini e08b1f82ce memory: uses_allocator_construction_args (waiting for C++20) 2022-02-21 08:07:01 +01:00
Michele Caini c2196149ee test: minor changes 2022-02-20 23:55:04 +01:00
Michele Caini f4418e0205 test: increase code coverage 2022-02-19 10:46:18 +01:00
Michele Caini a314f7b42e test: minor changes (code coverage) 2022-02-19 10:41:35 +01:00
Michele Caini 83f7e633a3 tests: allocate_unique with types that don't support uses-allocator construction 2022-02-18 17:08:07 +01:00
Michele Caini 7094d658f8 test: minor changes 2022-02-18 13:47:59 +01:00
Michele Caini 0a155ecb68 test: uses-allocator construction guaranteed for allocate_unique 2022-02-13 18:33:31 +01:00
Michele Caini 28e38321ee test: put basic test allocator in its own file 2022-02-05 00:18:03 +01:00
Michele Caini 1faeeeeabc memory: allocation_deleter/allocate_unique 2022-02-05 00:14:31 +01:00
Michele Caini 922bfbf724 test: fixed includes (while trying iwyu) 2022-02-01 23:01:04 +01:00
Michele Caini 0795f9a9f2 test: separate death tests as suggested in the gtest doc 2022-01-29 10:47:22 +01:00
Michele Caini ff41faa3fe memory: all of a sudden I remembered what greater than or equal to means :) 2021-10-10 00:42:25 +02:00
Michele Caini e4991d367e memory: fast_mod no longer requires a compile-time modulus (but it's still a constexpr function) 2021-10-08 20:24:07 +02:00
Michele Caini 3144cfafd5 memory: added constexpr function next_power_of_two 2021-10-07 16:53:22 +02:00
Michele Caini 80b5ed3d22 introduced clang-format (close #733) 2021-09-17 23:42:43 +02:00
Michele Caini 5ddc746915 memory: turn is_power_of_two in a constexpr function 2021-08-31 17:39:47 +02:00
Michele Caini ea6af75e8e memory: added utility function fast_mod 2021-08-29 23:04:40 +02:00
Michele Caini a595c6ec6f memory:
* added utility class is_power_of_two
* added variable template is_power_of_two_v
2021-08-29 22:15:33 +02:00
Michele Caini 52ea5e4074 memory: added pocca/pocma/pocs utility functions 2021-08-21 17:03:07 +02:00
Michele Caini 99621cf08a memory: unfancy -> to_address (waiting for C++20) 2021-08-20 15:28:46 +02:00
Michele Caini a9ae9ce758 test: code coverage 2021-08-20 00:32:02 +02:00