Commit Graph

3502 Commits

Author SHA1 Message Date
Michele Caini
206d2f623d type_traits: further refine is_equality_comparable[_v] to avoid specializations 2023-10-31 14:08:38 +01:00
Michele Caini
273035ff49 type_traits: improve is_equality_comparable[_v] 2023-10-31 14:02:34 +01:00
Michele Caini
39f6349878 mixin: use if constexpr as it should be 2023-10-29 22:27:49 +01:00
Michele Caini
bb70e8b14e view: drop filter_as_tuple 2023-10-27 18:30:33 +02:00
Michele Caini
b9c86b3f99 view: further reduce instantiations due to filters 2023-10-27 18:29:57 +02:00
Michele Caini
a678133e47 view: try to also please gcc 2023-10-26 14:28:36 +02:00
Michele Caini
642f4e70b5 view: view_pack review to cleanup single type views 2023-10-26 12:44:48 +02:00
Michele Caini
efd03711cc config: provide coverage for user defined ENTT_ID_TYPE in the std namespace 2023-10-25 17:01:56 +02:00
Michele Caini
4c067ee13d meta: suppress warnings due to implicit conversions - see #394 2023-10-25 16:51:28 +02:00
Michele Caini
1f7f613800 sparse_set: use scoped iterators within ::sort 2023-10-24 11:11:11 +02:00
Michele Caini
663353cbdb view: avoid multiple instantiations of fully_initialized 2023-10-23 17:05:40 +02:00
Michele Caini
aad20ed035 storage: deprecate ::pack, use ::sort_as instead 2023-10-20 12:23:43 +02:00
Michele Caini
7ddef2586c group: iterator based sort_as 2023-10-19 14:34:38 +02:00
Michele Caini
03aabbfa07 registry: use iterator based sort_as 2023-10-18 11:49:42 +02:00
Michele Caini
fe0d412b98 sparse_set: iterator based sort_as as it should be 2023-10-18 11:13:07 +02:00
Michele Caini
2dc121e3df meta: correctly initialize all members of meta container wrappers 2023-10-17 15:20:56 +02:00
Michele Caini
75bff4d67f meta: expose basic_meta_sequence_container_traits::fixed_size 2023-10-17 14:20:11 +02:00
Michele Caini
9d33ae86be helper: storage-based to_entity function 2023-10-17 14:09:04 +02:00
Michele Caini
283ad71283 mixin: suppress warning due to constepxr expression 2023-10-06 10:27:04 +02:00
Michele Caini
913d313098 sparse_set: cast null to the right entity type before using it 2023-10-06 10:04:36 +02:00
Michele Caini
c4c6ba7620 meta: use is_void_v as needed 2023-10-05 14:18:21 +02:00
Michele Caini
c53eaf939d storage: use is_void_v as needed 2023-10-05 14:18:09 +02:00
Michele Caini
d5613e8c65 registry: use is_void_v as needed 2023-10-05 14:17:58 +02:00
Michele Caini
7fada722e7 type_traits: use is_void_v as needed 2023-10-05 14:17:46 +02:00
Michele Caini
66ee7bab32 any: use is_void_v as needed 2023-10-05 14:17:35 +02:00
Michele Caini
8848040203 meta: meta_sequence_container::resize support to non default constructible types (close #1072) 2023-10-05 12:38:14 +02:00
Michele Caini
33ef814a76 meta: minor changes 2023-10-05 11:08:52 +02:00
Michele Caini
37aec0ab84 view: use type members as needed 2023-10-04 09:06:21 +02:00
Michele Caini
61ad570ecc storage: use type members as needed 2023-10-04 09:06:13 +02:00
Michele Caini
90e158e519 group: use type members as needed 2023-10-04 09:06:05 +02:00
Michele Caini
4c3a35bc95 storage: make get_allocator work with void type 2023-10-03 14:49:04 +02:00
Michele Caini
f2411a1db7 sparse_set: do not invoke compact automatically when sorting 2023-10-02 11:48:34 +02:00
Michele Caini
9d97c83909 view: use scoped iterators with ::contains 2023-09-26 14:32:02 +02:00
Michele Caini
6a21e29397 view: use scoped iterators with ::back 2023-09-26 14:31:42 +02:00
Michele Caini
8fdc24097e view: begin/end return scoped iterators as needed 2023-09-26 08:45:52 +02:00
Michele Caini
4e7368f79a storage: entity storage no longer has component traits exposed 2023-09-25 14:26:10 +02:00
Michele Caini
1e1dee88b7 registry: avoid warnings due to unused variables 2023-09-25 08:50:16 +02:00
Michele Caini
91e4ff6a08 storage: internal changes 2023-09-22 18:31:28 +02:00
Michele Caini
4be9aac7a6 storage: use scoped iterators in entity storage 2023-09-22 18:30:31 +02:00
Michele Caini
af059b5e21 mixin: rework pop_all to make it work without component traits 2023-09-22 18:27:48 +02:00
Michele Caini
fdb1978f89 component: cleanup 2023-09-22 17:35:33 +02:00
Michele Caini
8332e59c62 sparse_set: minor changes 2023-09-22 16:15:27 +02:00
Michele Caini
20cc263502 view: use scoped iterators as in the ::each function 2023-09-22 07:57:33 +02:00
Michele Caini
361d4ec4dd sparse_set: scoped iterator 2023-09-21 17:58:24 +02:00
Michele Caini
c3bf842f9f sparse_set: const correctness 2023-09-21 17:35:05 +02:00
Michele Caini
33b598289b meta: help the code coverage tool 2023-09-20 14:51:14 +02:00
Michele Caini
cfc7f99405 meta: avoid dead code warnings 2023-09-20 12:35:01 +02:00
Michele Caini
db5ecd2c96 meta: further reduce size of symbols 2023-09-20 12:22:18 +02:00
Michele Caini
07ff28d9dc sparse_set/storage: put swap_or_move check into the base class 2023-09-18 14:07:59 +02:00
Michele Caini
6e4381934a storage: improve asserts 2023-09-14 23:47:50 +02:00