Commit Graph

3383 Commits

Author SHA1 Message Date
Michele Caini
8ee91095c5 organizer: make it depend on the registry type and not the entity type 2022-05-20 09:07:32 +02:00
Michele Caini
49c7b2f8f4 entity/*: renaming things to make them clear 2022-05-19 09:00:04 +02:00
Michele Caini
5d80cf11ef helper: decouple invoke and to_entity from the registry type 2022-05-19 08:15:17 +02:00
Michele Caini
bc929bcb90 snapshot: suppress warnings/errors due to shadow template parameters 2022-05-18 15:21:35 +02:00
Michele Caini
26a3057acf handle: decouple from entity type, make it work with all registry types 2022-05-18 15:02:25 +02:00
Michele Caini
96cf0a6d02 handle: prepare for a registry oriented version 2022-05-18 11:12:53 +02:00
Michele Caini
12e773f3fb as_group/as_view: make them transparent to the registry type 2022-05-17 12:40:47 +02:00
Michele Caini
c321997591 snapshot/loader: support all types of registry (allocator oriented) 2022-05-17 12:35:45 +02:00
Michele Caini
b2d98452f1 observer: support all types of registry (allocator oriented) 2022-05-17 12:28:54 +02:00
Michele Caini
16e48aa10f storage_type_t: simplify the definition to make it work with default template arguments for storage_type 2022-05-17 12:17:44 +02:00
Michele Caini
4da85a5f4a storage_type[_t]: flip entity type and value type 2022-05-17 12:07:21 +02:00
Michele Caini
a5c9d3a809 basic_storage: flip entity type and value type 2022-05-17 11:55:53 +02:00
Michele Caini
f288ba744d test: cleanup 2022-05-17 11:35:32 +02:00
Michele Caini
ba5b85de00 storage: use storage_type_t everywhere 2022-05-16 08:59:04 +02:00
Michele Caini
bd2f412225 storage: add storage_type_t 2022-05-16 08:25:50 +02:00
Michele Caini
a86cf32f55 entity: storage_traits -> storage_type 2022-05-16 08:25:23 +02:00
Michele Caini
0c8178c753 view/group/registry: storage_type -> storage_for (prepare for storage_type_t) 2022-05-15 10:45:33 +02:00
Michele Caini
b59e06ec89 storage_traits: storage_type -> type 2022-05-13 14:11:23 +02:00
Michele Caini
10153a371b sparse_set: use null values as watchdogs 2022-05-13 12:12:48 +02:00
Michele Caini
a93c1478c0 sparse_set: check against null rather than tombstone (prepare support for enable/disable) 2022-05-13 11:10:08 +02:00
Michele Caini
215b7a19c9 test: suppress warning due to integral conversions 2022-05-12 17:51:03 +02:00
Michele Caini
14ed666b91 helper: suppress warning with gcc from to_entity 2022-05-12 17:50:13 +02:00
Michele Caini
ac1d61b2c4 sparse_set: refine the check of the bump function 2022-05-12 17:32:25 +02:00
Michele Caini
acb6e90158 sparse_set: bump doesn't allow to set a tombstone version (yet) 2022-05-12 15:58:38 +02:00
Michele Caini
d3609737f5 view: minor changes 2022-05-12 14:23:45 +02:00
Michele Caini
95b91cd7dd runtime_view: remove the dependency on the sparse set class 2022-05-12 12:43:00 +02:00
Michele Caini
affd2a3b91 registry: ::storage<T> doesn't accept const types anymore 2022-05-11 13:48:03 +02:00
Michele Caini
d392259364 TODO: cleanup 2022-05-11 07:49:37 +02:00
Michele Caini
e03f4fac64 sigh_storage_mixin: added fwd decl to entity/fwd.hpp 2022-05-11 07:49:14 +02:00
Michele Caini
538840351a natvis: updated definition for meta_type_node 2022-05-11 07:48:42 +02:00
Michele Caini
1ddad3577c registry: minor changes 2022-05-11 07:47:58 +02:00
Michele Caini
d44d1325fc meta: add meta_type::is_integral and meta_type::is_signed (close #884) 2022-05-10 14:43:08 +02:00
Michele Caini
dc07af6ad1 sigh: updated noexcept token 2022-05-09 12:16:57 +02:00
Michele Caini
c6f1809d60 sigh:
* cleanup
* conditionally noexcept
2022-05-09 12:07:28 +02:00
Michele Caini
261e73bf3e y_combinator: conditionally noexcept 2022-05-09 12:07:13 +02:00
Michele Caini
8c7d2a1e96 allocation_deleter: conditionally noexcept 2022-05-09 12:06:42 +02:00
Michele Caini
72507977bd input_iterator_pointer: conditionally noexcept 2022-05-09 12:05:56 +02:00
Michele Caini
270829f05b iterable_adaptor: constructors are conditionally noexcept now 2022-05-09 08:32:11 +02:00
Michele Caini
b92e4f7e65 iterable_adaptor: move iterators on construction 2022-05-09 08:23:51 +02:00
Michele Caini
8e890135fe compressed pair: make the full class conditionally noexcept 2022-05-06 12:25:07 +02:00
Michele Caini
a6601939d5 compressed_pair: make compressed_pair_element conditionally noexcept 2022-05-06 12:19:14 +02:00
Michele Caini
c608e735d2 test: use page size variables 2022-05-06 12:01:37 +02:00
Michele Caini
e0a1a338a5 view: security net and explicit arrays to avoid regressions 2022-05-06 09:31:23 +02:00
Michele Caini
7aa276df5a entity: oops, typo :) 2022-05-06 08:44:03 +02:00
Michele Caini
d939a72219 config: drop ENTT_NOEXCEPT[_IF] 2022-05-06 08:41:22 +02:00
Michele Caini
96fc59eee5 updated TODO 2022-05-06 08:40:33 +02:00
Michele Caini
989f8568cf helper: use the right page size in all cases 2022-05-06 08:40:17 +02:00
Michele Caini
66f451124f entity: prepare to remove ENTT_NOEXCEPT[_IF] 2022-05-06 08:37:41 +02:00
Michele Caini
e59ff47f6f core: prepare to remove ENTT_NOEXCEPT[_IF] 2022-05-06 08:30:49 +02:00
Michele Caini
b176be9ef7 meta: prepare to remove ENTT_NOEXCEPT[_IF] 2022-05-06 08:23:52 +02:00