Commit Graph

3396 Commits

Author SHA1 Message Date
Michele Caini
7428cb353c storage: add default entity type to storage_type 2022-05-25 10:32:40 +02:00
Michele Caini
fe3b5b03eb entity/invoke: properly decay deduced argument to avoid nasty errors with reference types 2022-05-24 14:11:19 +02:00
Michele Caini
497fb90b12 doc: updated core.md 2022-05-24 10:59:50 +02:00
Michele Caini
48ab892de1 type_traits: type_list_transform[_t] utility 2022-05-24 10:59:40 +02:00
Michele Caini
a85ad88d5a entitiy/invoke: use nth_argument_t and avoid explicitly mentioning the registry 2022-05-24 08:31:14 +02:00
Michele Caini
cf2566ff74 doc: nth_argument (core) 2022-05-23 11:47:04 +02:00
Michele Caini
619f51518a type_traits: nth_argument utility (with tests) 2022-05-23 11:46:50 +02:00
Michele Caini
b26330adab delegate: minor changes 2022-05-23 11:35:11 +02:00
Michele Caini
83009bac02 resource: remove use_count (close #889) 2022-05-21 14:18:05 +02:00
Michele Caini
8780d536c7 resource: add member function handle 2022-05-21 14:14:15 +02:00
Michele Caini
99f4134d9d resource: add type member handle_type 2022-05-21 14:12:31 +02:00
Michele Caini
ca02ab7d5d resource: add type member element_type 2022-05-21 14:11:25 +02:00
kcalbCube
dc295ca0e1 doc: add an notice about possible undefined behaviour. (#887) 2022-05-20 10:44:25 +02:00
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