Commit Graph
1990 Commits
Author SHA1 Message Date
Michele Caini c52f16f5b8 meta:
* meta_any: convert -> allow_cast
* support for const references
* as_cref_t policy
2020-12-23 09:42:04 +01:00
Michele Caini 3dac65a012 *: minor changes 2020-12-23 09:42:01 +01:00
Michele Caini bc089bc4c1 any_cast: review any_cast for better support to const references 2020-12-23 09:41:58 +01:00
Michele Caini 1075ded4dc test: minor changes 2020-12-23 09:41:55 +01:00
Michele Caini 5578ea2f30 meta_any: added support for const references, reviewed meta_any::cast (T vs T &) 2020-12-23 09:41:52 +01:00
Michele Caini ade3e58829 any: added support to const references 2020-12-23 09:41:49 +01:00
Michele Caini ee2e88476c any: instance type is now const void * instead of void * 2020-12-23 09:41:44 +01:00
Michele Caini 1726e983ad doc: added Minecraft Earth to the list :) 2020-12-23 09:38:27 +01:00
Michele Caini 44341f0bcc doc: cleaned up example in the README 2020-12-21 13:44:50 +01:00
Michele Caini 366da3d0fe type_info: use remove_cv_t rather than remove_const_t 2020-12-17 10:17:31 +01:00
Michele Caini f7fa2f605b poly: minor changes 2020-12-17 10:17:23 +01:00
Michele Caini 6854dea47e delegate: use type_list rather than tuple internally 2020-12-17 10:17:11 +01:00
Michele Caini 9d7e1cd99d registry: use type_list rather than tuple internally 2020-12-17 10:17:04 +01:00
Michele Caini 330f3dff77 core: updated ident, removed dependency on <tuple> 2020-12-17 10:16:54 +01:00
Michele Caini 073c46e7bf any: const void * return type for the fake vtable 2020-12-17 10:14:43 +01:00
Michele Caini 9950b2ea34 type_traits: added type_list_element[_t] and value_list_element[_v] 2020-12-17 10:13:02 +01:00
Michele Caini a7c2a5c49b doc: updated links 2020-12-17 10:12:47 +01:00
Michele Caini c2c39cd0d0 doc: suppress a warning from doxygen 2020-12-14 11:19:04 +01:00
Michele Caini b6e7c36b11 delegate: use constness_as_t internally 2020-12-14 11:17:24 +01:00
Michele Caini 002f92fe1e organizer: fixed an issue for free functions with payload (close #613) 2020-12-14 11:17:10 +01:00
Michele Caini d6d0cdf9aa build system: avoid enabling tests by default when EnTT is the top dir project 2020-12-14 08:43:23 +01:00
Martin Stump 7d002df94f build system: add MAIN_PROJECT check for test option (#610)
* Add MAIN_PROJECT check for test option
* Set MAIN_PROJECT=OFF initially
2020-12-14 08:43:18 +01:00
Michele Caini f0d7408f94 doc: minor changes 2020-12-13 23:52:16 +01:00
Keith Rosenbergandkthrose 7154678347 doc: mention aggregate initialization usage in registry::emplace, refs #592 (#593)
* update example to explain aggregate initialization usage, refs #592
* cleanup example; add details about parameterized constructors and aggregate initialization

Co-authored-by: kthrose <kthrose@netpoetica.com>
2020-12-13 23:29:01 +01:00
Fahmi Akbar Wildana 68f0743c40 doc: add @javelin/ecs in references.md (#611) 2020-12-13 23:26:22 +01:00
Michele Caini 3d5905c878 doc: added more details 2020-12-12 16:39:45 +01:00
Michele Caini a344a1ca59 doc: typo 2020-12-12 15:37:11 +01:00
Michele Caini 5f539ddfb7 doc: updated documentation (core, entity, poly) 2020-12-12 15:13:46 +01:00
Michele Caini a974235d10 core/entity/meta/poly:
* updated poly (static vtable, design review)
* .ref -> as_ref (any, meta_any, poly)
* poly storage
2020-12-12 15:09:29 +01:00
Michele Caini 2d17ef5c7e meta: removed as_ref tag 2020-12-12 14:58:31 +01:00
Michele Caini dda8c209df type_traits: added type_identity trait (waiting for C++20) 2020-12-12 14:55:30 +01:00
Michele Caini be88d5dfb8 type_info: minor changes 2020-12-12 14:51:41 +01:00
Michele Caini 4a537d82d3 minor changes 2020-12-08 19:38:31 +01:00
Michele Caini 6f36723097 runtime_view: public constructor (close #597) 2020-12-06 15:37:51 +01:00
Michele Caini 35bce924f8 handle: added support for destroy (close #598) 2020-12-03 12:17:49 +01:00
Michele Caini 9356e8ccb5 config: reintroduce ENTT_DISABLE_ASSERT (close #599) 2020-12-03 11:18:27 +01:00
Michele Caini 1ffde24ef6 *: updated TODO 2020-12-03 10:55:08 +01:00
Michele Caini 2f52bef882 poly: first implementation 2020-12-02 15:49:40 +01:00
Michele Caini b1369582e1 type_traits: added value_list 2020-12-02 15:49:05 +01:00
Michele Caini cf176719a8 *: minor changes here and there 2020-12-02 15:48:36 +01:00
Michele Caini d7ed72ac06 meta_any: single vtable function to reduce instantiations and storage requirements 2020-12-02 11:10:04 +01:00
Michele Caini 83322664f1 any: doc + more tests 2020-12-02 11:10:04 +01:00
Michele Caini 5af7e96f70 meta/*: removed meta_storage, meta_any uses any internally 2020-12-02 11:10:04 +01:00
Michele Caini c95041d7c3 core: standalone any class 2020-12-02 11:10:04 +01:00
Michele Caini 62f40dcb21 meta_storage: internal review for better memory usage 2020-12-02 11:10:04 +01:00
Michele Caini b4f88e303a meta_storage: branchless implementation 2020-12-02 11:10:04 +01:00
Michele Caini cd0ec69446 meta: reduced instantiations due to meta any, use a fake vtable function 2020-12-02 11:10:04 +01:00
Michele Caini 909415d167 organizer: bug fixing/tests (thanks to @Green-Sky) 2020-12-02 11:09:52 +01:00
Michele Caini 337bc6d97a view_pack: support for multiple views of the same type 2020-12-02 11:09:51 +01:00
Michele Caini 6c9fab7da1 type_traits: minor changes 2020-12-02 11:09:51 +01:00