Commit Graph

3887 Commits

Author SHA1 Message Date
Michele Caini
bdaeef856d delegate: just an extra safe check 2022-10-22 18:56:55 +02:00
Michele Caini
57ad7696be memory: turn the power-of-two/fast_mod toolset into a non-constexpr one 2022-10-21 11:01:18 +02:00
Michele Caini
7c58c83ee0 memory: review propagate_on_container_swap 2022-10-21 10:57:37 +02:00
Michele Caini
dd7aaa30ca organizer: minor changes 2022-10-20 15:34:57 +02:00
Michele Caini
76f95945fc registry: better use of entt:: to avoid ambiguities 2022-10-20 09:36:51 +02:00
Michele Caini
869836ba79 registry: use allocator to allocate_shared groups with uses-allocator policy 2022-10-20 09:10:20 +02:00
Michele Caini
2358552c27 *: internal review of some traits usage 2022-10-19 12:08:41 +02:00
Michele Caini
e22ea5e189 meta: minor changes 2022-10-18 11:03:03 +02:00
Michele Caini
496fefdd01 meta: favor top-level conversion functions over bases lookup 2022-10-18 10:54:31 +02:00
Michele Caini
26f85050c1 any: debug-only check to detect nasty bugs in the client code, if any 2022-10-18 10:53:51 +02:00
Michele Caini
d478b5bc6a test: minor changes to avoid UBs 2022-10-18 10:50:16 +02:00
Michele Caini
c8337e529e natvis: review a bunch of definitions 2022-10-17 09:54:13 +02:00
Michele Caini
f0995297cf emitter: update destructor check on derived type 2022-10-17 09:53:27 +02:00
Michele Caini
b395df0f56 doc: cleanup 2022-10-14 19:05:42 +02:00
Michele Caini
69a6cc6656 meta: better doc, minor changes to propagate the context to the meta handles 2022-10-14 18:52:05 +02:00
Michele Caini
bf73216a76 meta: minor changes 2022-10-14 17:01:54 +02:00
Michele Caini
621860718b meta: rebind elements to the right context upon invocation if possible 2022-10-14 15:40:31 +02:00
Michele Caini
c34c5da277 meta: minor changes 2022-10-14 14:31:55 +02:00
Michele Caini
8dcabba31b meta: clarify utilities behavior with regard to context, instances and arguments 2022-10-14 12:24:25 +02:00
Michele Caini
294064f11f meta: args are always rebinded to the right context (with non-regression tests) 2022-10-14 11:47:27 +02:00
Michele Caini
d125229312 doc: more about the new meta context rework 2022-10-14 11:46:35 +02:00
Michele Caini
11c1e23a91 meta: context aware copy/move ctor for meta_any 2022-10-14 08:49:44 +02:00
Michele Caini
82bc2e1fe4 test: no need to test mixing meta contexts actually, dropped the todo 2022-10-13 13:12:55 +02:00
Michele Caini
92a00f591d test: context aware meta handle 2022-10-13 11:15:48 +02:00
Michele Caini
04716a7fde meta: minor changes 2022-10-13 09:38:22 +02:00
Michele Caini
b6155080b2 test: a few more tests for meta_handle 2022-10-13 09:37:13 +02:00
Michele Caini
0a61de4a09 test: context aware meta_any 2022-10-13 09:33:43 +02:00
Michele Caini
7121da100a test: context aware meta sequence containers 2022-10-13 09:24:20 +02:00
Michele Caini
7bee969ebf test: context aware meta pointers (dereferencing picks the type from the right context) 2022-10-13 09:12:45 +02:00
Michele Caini
4a0a534796 test: context aware forward_as_meta 2022-10-13 09:09:11 +02:00
Michele Caini
a0041d9062 meta: resolve an ambiguity and avoid redundant default ctors (win-win) 2022-10-13 08:59:16 +02:00
Michele Caini
3dd768bb9b meta: context aware meta template 2022-10-12 19:02:30 +02:00
Michele Caini
2a307a681f test: context aware meta prop 2022-10-12 18:30:21 +02:00
Michele Caini
dd1211d021 meta: combine enable_if_t and a meta policy detection utility to avoid API changes 2022-10-12 16:06:25 +02:00
Michele Caini
09a600d68a meta: propagate API changes to the internal functions 2022-10-12 15:36:31 +02:00
Michele Caini
7c25b46513 test: minor changes 2022-10-12 15:14:58 +02:00
Michele Caini
dc42486de8 test: drop redundant using namespace 2022-10-12 14:57:46 +02:00
Michele Caini
36411faf43 test: context aware meta dtor 2022-10-12 14:56:27 +02:00
Michele Caini
a9cd565d65 test: context aware meta conv 2022-10-12 12:49:39 +02:00
Michele Caini
0adbb0ad16 test: context aware meta ctor 2022-10-12 12:43:58 +02:00
Michele Caini
db31f77d63 test: context aware meta func 2022-10-12 12:22:26 +02:00
Michele Caini
c275afef28 test: context aware meta data 2022-10-12 12:16:35 +02:00
Michele Caini
4bad4f3067 test: context aware meta bases 2022-10-12 10:28:41 +02:00
Michele Caini
d2048c037a test: bare minimum tests for meta types from different contexts 2022-10-12 10:04:28 +02:00
Michele Caini
2a39717893 test: add all desired tests for meta context support 2022-10-12 09:59:03 +02:00
Michele Caini
49c2ae0e77 test: context aware meta resolve 2022-10-12 09:58:20 +02:00
Michele Caini
869c18f150 test: prepare to test meta context support 2022-10-12 09:57:58 +02:00
Michele Caini
d79cb5ca98 meta: turn meta_handle into a context aware wrapper 2022-10-11 15:24:23 +02:00
Michele Caini
acc6390312 meta: drop make_meta, unfortunately it doesn't fit well with the context aware design 2022-10-11 14:56:25 +02:00
Michele Caini
2e59fbbccc meta:
* review pending functions to make them context aware if they aren't already
* suppress a meta_associative_container::insert warning (rvalue-to-lvalue binding)
2022-10-11 14:40:16 +02:00