Commit Graph

4449 Commits

Author SHA1 Message Date
Michele Caini
f96d8ee832 registry: prepare to split component storage and entity storage 2023-05-09 09:24:25 +02:00
Michele Caini
c147ec37c9 test: try to make gcc happy again 2023-05-09 08:48:22 +02:00
Michele Caini
094ddbba36 meta: avoid shadow warnings 2023-05-09 08:44:24 +02:00
Michele Caini
634630ca2d test: add missing template keywords (thanks msvc for ignoring them) 2023-05-09 08:34:06 +02:00
Michele Caini
d78c26f266 *: updated TODO 2023-05-08 12:45:52 +02:00
Michele Caini
fabc6c9bd7 test: full cross-registry entity-copy example with meta (not strictly required) 2023-05-08 12:45:18 +02:00
Michele Caini
b6e8ddd2ad meta: fight against the small nuances of the language :) 2023-05-08 12:24:43 +02:00
Michele Caini
cf2bbae6e1 mixin: make it simpler to modify the underlying type 2023-05-07 23:38:05 +02:00
Michele Caini
08799616d0 *: updated TODO 2023-05-05 16:19:51 +02:00
Michele Caini
58bebf78d8 meta: reduce symbols and their sizes if possible 2023-05-05 15:53:58 +02:00
Michele Caini
d534fad3ee doc: more about views 2023-05-04 11:35:27 +02:00
Michele Caini
871dc7a401 doc: drop references to storage placeholders 2023-05-04 10:12:35 +02:00
Michele Caini
1fe7c78f7e test: minor changes 2023-05-03 16:22:01 +02:00
Michele Caini
22a65f80fc test: cleanup 2023-05-03 16:11:08 +02:00
Michele Caini
756ea8a388 *: updated TODO 2023-05-03 14:49:43 +02:00
Michele Caini
12186cb401 registry: drop internal static storage variables from ::assure 2023-05-03 14:49:35 +02:00
Michele Caini
aa9ffb9eef registry: const ::storage<T>(...) returns a pointer to possibly null storage 2023-05-03 14:46:40 +02:00
Michele Caini
dcb5aed901 registry: lazily/partially initialize views in the ::view const function 2023-05-02 14:39:06 +02:00
Michele Caini
34f6a747a8 registry: add support for non-existent pools to try_get 2023-05-02 14:37:06 +02:00
Michele Caini
912cb2ad54 snapshot: constness review 2023-05-02 14:30:20 +02:00
Michele Caini
885488b3d6 registry: any_of supports non-existing pools now 2023-04-28 16:28:32 +02:00
Michele Caini
3d3d3ef2d9 registry: all_of supports non-existing pools now 2023-04-28 16:28:13 +02:00
Michele Caini
a7120b3400 registry: coding style 2023-04-28 16:26:56 +02:00
Michele Caini
51915205b0 test: cover stable multi-type model 2023-04-28 16:25:03 +02:00
Michele Caini
4a3ee042ea view: refine ::storage function 2023-04-28 16:24:38 +02:00
Michele Caini
88a1b8d0df view: stable multi-type view ::each(cb) function 2023-04-28 16:24:18 +02:00
Michele Caini
7e18a0f966 view: update ::use function 2023-04-28 16:23:33 +02:00
Michele Caini
c367082ddd view: unchecked_refresh function 2023-04-28 16:22:23 +02:00
Michele Caini
9f94b5306d view: double check on none_of 2023-04-28 16:21:17 +02:00
Michele Caini
44ed10c50b view: stable multi type view ::find/::back/::front functions 2023-04-28 15:55:33 +02:00
Michele Caini
1b22809412 view: stable multi type view ::begin/::end functions 2023-04-28 15:48:09 +02:00
Michele Caini
bdabbaa63d view: stable multi type view ::contains function 2023-04-28 15:47:16 +02:00
Michele Caini
c79c109b77 view: stable multi type view ::size_hint function 2023-04-28 15:44:00 +02:00
Michele Caini
f1a2133820 registry: prepare to remove static storage from const assure 2023-04-28 15:35:15 +02:00
Michele Caini
17dc061490 view: stable single type view ::each(cb) function 2023-04-28 14:20:45 +02:00
Michele Caini
3b8d82330d view: drop unused return 2023-04-28 12:19:45 +02:00
Michele Caini
a20829e700 view: ::handle returns a pointer rather than a reference 2023-04-28 09:42:14 +02:00
Michele Caini
5be2fdc158 view: stable single type view ::each() function 2023-04-27 09:19:57 +02:00
Michele Caini
873b107e69 -: updated TODO 2023-04-27 09:19:27 +02:00
Michele Caini
356bbbe53e view: stable single type view ::find function 2023-04-27 09:11:03 +02:00
Michele Caini
e3ce4e1567 view: stable single type view ::front/::back functions 2023-04-27 09:10:29 +02:00
Michele Caini
e02050c515 view: stable single type view ::rbegin/::rend functions 2023-04-27 09:07:37 +02:00
Michele Caini
26930633f0 view: stable single type view ::begin/::end functions 2023-04-27 08:59:50 +02:00
Michele Caini
b7a485767f view: stable single type view ::contains function 2023-04-26 15:49:21 +02:00
Michele Caini
f54cdccd4f view: stable single type view ::empty function 2023-04-26 15:48:45 +02:00
Michele Caini
41c9a32f31 view: stable single type view ::size function 2023-04-26 15:48:06 +02:00
Michele Caini
736ef35805 view: make operator bool work properly with partially initialized views 2023-04-26 13:10:31 +02:00
Michele Caini
0128cbb4f3 test: minor changes 2023-04-24 18:15:22 +02:00
Michele Caini
ff0a407151 test: prepare test suite for safe invalid views 2023-04-24 18:15:09 +02:00
Michele Caini
34f4403864 view: avoid using storage, further prepare for empty safe views 2023-04-24 17:49:49 +02:00