Michele Caini
8c27ca9e36
*: suppress some warnings (see #620 )
2020-12-27 00:12:28 +01:00
Michele Caini
4b89fc390d
poly: renaming to avoid conflicts with libraries that redefine words randomly ( close #615 )
2020-12-26 17:00:51 +01:00
Michele Caini
29c1766714
registry: const poly storage function
2020-12-24 16:48:07 +01:00
Michele Caini
2e5a9f117c
*: cleanup
2020-12-23 19:09:31 +01:00
Michele Caini
2abcbcd30f
meta: support for pointer-like types with a custom dereference operator other than operator*
2020-12-23 19:00:05 +01:00
Michele Caini
ac8bde4ea8
doc: get around an issue with doxygen
2020-12-23 17:31:08 +01:00
Michele Caini
78a13efc6c
any: minor changes
2020-12-23 12:28:07 +01:00
Michele Caini
c99e859978
meta: container traits not required for const T
2020-12-23 12:27:46 +01:00
Michele Caini
ed448cb99f
doc: filled some todos here and there
2020-12-23 11:30:43 +01:00
Michele Caini
5d472a1f2e
test: suppress warnings
2020-12-23 09:42:40 +01:00
Michele Caini
92a938db0e
meta: reduced instantiations from meta iterators
2020-12-23 09:42:38 +01:00
Michele Caini
aa979b2046
any/meta:
...
* added alias constructor to any
* added alias constructor to meta_any
* added alias constructor to poly
* added support for const containers, const deref operator and const views to meta_any
2020-12-23 09:42:36 +01:00
Michele Caini
2daaf899d3
any: comparison functions (==, !=)
2020-12-23 09:42:33 +01:00
Michele Caini
fa4c6bccbc
meta_any: make ref to pointer-like types work in all cases
2020-12-23 09:42:31 +01:00
Michele Caini
bedea4b11a
*: added error messages to static asserts
2020-12-23 09:42:29 +01:00
Michele Caini
bc415242f2
test:
...
* support for pointer-like to const
* internal meta_range coverage
* fully tested meta_handle
* references as arguments for meta_ctor
* invoke const function on const reference for meta_func
* references as arguments for meta_func
* as_cref_t return type for meta_func
* setter and getter on const reference for meta_data
* as_cref_t getter for meta_data
* set by const and non-const reference for meta_data
* const invoke for meta_any
* const get for meta_any
* aob
2020-12-23 09:42:26 +01:00
Michele Caini
2eeb7552d6
test:
...
* more on any const and non-const reference support
* poly support for const and non-const references
* poly as_ref overloads
2020-12-23 09:42:24 +01:00
Michele Caini
3a6ecb10a7
meta_sequence_container: extended support for const iterators
2020-12-23 09:42:22 +01:00
Michele Caini
f55004d1e4
test: any::as_ref for const references
2020-12-23 09:42:19 +01:00
Michele Caini
1a3304a886
meta_any:
...
* set is necessarily non-const
* added non-const overloads for get and invoke
2020-12-23 09:42:17 +01:00
Michele Caini
58bcbe75b7
meta: minor changes
2020-12-23 09:42:14 +01:00
Michele Caini
753df6decf
poly: updated doc (const references)
2020-12-23 09:42:11 +01:00
Michele Caini
c32f947c18
meta:
...
* support for pointers to const types
* use std::reference_wrapper instead of std::ref to let pass constness
2020-12-23 09:42:09 +01:00
Michele Caini
6123e4ac8a
any/meta/poly: as_ref const and non-const overloads
2020-12-23 09:42:07 +01:00
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 Rosenberg
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