Commit Graph

3235 Commits

Author SHA1 Message Date
Michele Caini
6e1a774921 sigh: slightly reduce instantiations 2022-04-04 09:46:00 +02:00
Michele Caini
6b53b509fa registry/storage: minor changes 2022-04-04 09:18:10 +02:00
Michele Caini
b8b6203ecd doc: minor changes 2022-04-04 09:17:40 +02:00
Michele Caini
81e1500675 dense_set: slightly reduce instantiations 2022-04-04 09:17:13 +02:00
Michele Caini
d2cd18cb1e test: minor changes (try to also please codecov) 2022-04-02 16:10:00 +02:00
Michele Caini
f5ac73f681 resource_cache: use actual template parameters on sfinae expressions 2022-04-01 14:48:52 +02:00
Michele Caini
413630813a resource: updated doc 2022-04-01 14:41:38 +02:00
Michele Caini
73b6ef2293 resource: updated natvis file 2022-04-01 14:41:15 +02:00
Michele Caini
428bfbd810 tests: updated tests for the resource module 2022-03-31 15:43:44 +02:00
Michele Caini
c54409bdfb resource: fully review the resource module 2022-03-31 15:43:07 +02:00
Michele Caini
b63aebfdaf dense_set: strong exception guarantee (emplace/insert) 2022-03-30 15:34:45 +02:00
Michele Caini
335f876a46 dense_map: strong exception guarantee (emplace/insert) 2022-03-30 15:26:39 +02:00
Michele Caini
c5e99342a3 tests: minor changes 2022-03-30 15:14:26 +02:00
Michele Caini
1710eb9249 dense_map: minor changes 2022-03-29 16:56:49 +02:00
Michele Caini
d03770f91f meta: avoid using =default to avoid tricking VS toolset v141 2022-03-29 16:26:01 +02:00
Michele Caini
9fe6f7a6ea entity: avoid using =default to avoid tricking VS toolset v141 2022-03-29 16:25:53 +02:00
Michele Caini
2fc605fc3e container: avoid using =default to avoid tricking VS toolset v141 2022-03-29 16:25:37 +02:00
Michele Caini
edcd5c4713 dense_set: use underlying iterators to exploit their checks 2022-03-28 16:25:09 +02:00
Michele Caini
bd3df1e06a dense_map: use underlying iterators to exploit their checks 2022-03-28 16:24:52 +02:00
Michele Caini
b785d1c82b meta: minor changes (coding style) 2022-03-27 23:25:50 +02:00
Michele Caini
93bf14f84f organizer: cleanup + renaming to avoid conflicts 2022-03-27 23:24:54 +02:00
Michele Caini
5a84646282 dense_map: updated built-in doc 2022-03-25 17:34:44 +01:00
Michele Caini
2e6cfc08f0 registry: refine storage proxy iterator and guarantee iterator conversions 2022-03-25 17:20:23 +01:00
Michele Caini
4b6d3d47ec registry: suppress a false warning from clang 2022-03-25 15:12:25 +01:00
Michele Caini
985abaa12a dense_map/set: minor changes 2022-03-24 17:38:51 +01:00
Michele Caini
a381a7253a resource: updated doc 2022-03-23 15:32:11 +01:00
Michele Caini
b8bb509d5c resource:
* drop the resource_loader class
* made the loader a template parameter of the resource_cache
* updated the API of the resource_cache
2022-03-23 15:31:55 +01:00
Michele Caini
f48dbd0e19 resource_handle: updated doc 2022-03-23 15:29:44 +01:00
Michele Caini
31c1278374 config: removed ENTT_LAUNDER (unused) 2022-03-22 12:44:21 +01:00
Michele Caini
f6aaafd60f config: add ENTT_NOEXCEPT_IF (for future uses) 2022-03-22 12:43:47 +01:00
Michele Caini
ae3dec19fd registry: internal changes to avoid ambiguous calls 2022-03-22 12:43:24 +01:00
Michele Caini
990baa0929 test: typo 2022-03-21 16:14:20 +01:00
Michele Caini
7ecb65a141 doc: updated links 2022-03-21 10:41:53 +01:00
Michele Caini
a1e55103be enum: typo 2022-03-21 10:41:45 +01:00
Michele Caini
1b4fc54405 dense_set:
* emplace create-and-discard mode if strictly required only
* insert uses the insert_or_do_nothing utility internally
* opaque value_to_bucket function
2022-03-21 10:41:28 +01:00
Michele Caini
e5dcea1fa0 dense_map: emplace create-and-discard mode if strictly required only 2022-03-21 10:19:47 +01:00
Michele Caini
9f25195629 dense_map: use insert_or_do_nothing from within insert 2022-03-21 10:17:55 +01:00
Michele Caini
6936fa1c1c dense_map: opaque key_to_bucket function 2022-03-21 08:42:44 +01:00
Michele Caini
7b25eacfc8 dense_map:
* try_emplace should not consume arguments if the element exists
* clean up
2022-03-18 10:51:16 +01:00
Michele Caini
33989a61e3 dense_set: claen up 2022-03-18 10:49:52 +01:00
Michele Caini
08d9e8d076 dense_map/set: minor changes 2022-03-17 14:23:29 +01:00
Michele Caini
da43ef0982 dense_set: avoid potential UBs 2022-03-17 12:36:00 +01:00
Michele Caini
02f12bde81 dense_map: avoid potential UBs 2022-03-17 12:35:46 +01:00
Michele Caini
b55d5375ac *: added missing messages to static asserts 2022-03-17 11:39:45 +01:00
Michele Caini
281f40bd56 dense_set: avoid dispatching based on iterator category if possible 2022-03-17 11:39:45 +01:00
Michele Caini
dcb7c0c27e dense_map: constrain the allocator type 2022-03-17 11:39:45 +01:00
Michele Caini
d3c44a6fa6 dense_map: avoid dispatching based on iterator category if possible 2022-03-17 11:39:45 +01:00
Michele Caini
f432dc6bdc dense_map:
* uses-allocator construction
* iterators model forward/random access iter types but are in the input iter category
* iter value_type is pair<const T &, U &>/pair<const T &, const U &> (zip iter types)
* no risky UBs due to type punning or destroy/construct within a vector
2022-03-17 11:39:45 +01:00
Michele Caini
ce21ee6001 test: minor changes 2022-03-17 11:39:36 +01:00
Michele Caini
a431f5a674 registry: allow creating pools during a destroy (close #853) 2022-03-16 17:18:14 +01:00