Michele Caini
375c780d3b
doc: updated links ( close #630 )
2021-01-07 09:23:09 +01:00
Michele Caini
f3b6c2ce5d
doc: updated links ( close #628 )
2021-01-06 14:41:27 +01:00
Michele Caini
a7a2c96382
registry: added ::reserve_pools
2021-01-05 09:35:41 +01:00
Michele Caini
99336ef746
doc: dark mode friendly header
2021-01-04 16:33:26 +01:00
Michele Caini
72d2adfe1c
*: updated copyright
2021-01-04 14:09:53 +01:00
Michele Caini
707574e294
meta: avoid warnings for unused variables
2021-01-04 12:25:55 +01:00
Michele Caini
18ffbd0027
registry: group -> group_if_exists ( close #626 )
2021-01-04 08:34:56 +01:00
reworks
68a0e4f39a
doc: update links.md ( #627 )
2021-01-03 16:35:16 +01:00
Michele Caini
ddb99ced34
storage: storage type check
2021-01-02 16:42:49 +01:00
Michele Caini
cb2782bc71
registry: ::remove requires at least a component now ( close #623 )
2021-01-01 23:55:13 +01:00
Alex Perry
52cade9267
doc: fixed missing prefix "L" ( #622 )
2021-01-01 23:46:24 +01:00
Michele Caini
ec600eb2f4
any: use feature tests to get around an issue with clang 6.0.0
2020-12-31 11:40:08 +01:00
Michele Caini
61e96e2dab
*: get around an issue with entt::integral_constant on (very) old compilers
2020-12-30 18:04:57 +01:00
Michele Caini
9f5433053d
poly: minor changes
2020-12-30 17:18:43 +01:00
Michele Caini
d2489a57b7
doc: updated links
2020-12-30 13:12:54 +01:00
Michele Caini
e5841cd467
poly: suppress warnings for unused variables
2020-12-29 18:15:33 +01:00
Michele Caini
820d52428f
doc: updated references
2020-12-29 16:51:38 +01:00
Michele Caini
ae6931b046
any: avoid unreachable code
2020-12-28 16:14:05 +01:00
Michele Caini
90a97b90bb
doc: minor changes
2020-12-28 16:07:36 +01:00
Michele Caini
4b38d81f00
algorithm: use plain for rather than for_each
2020-12-27 23:07:37 +01:00
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