Michele Caini
4162d4fbc6
type_info: a more reliable operator bool
2021-03-12 09:33:42 +01:00
Michele Caini
a4d16bffd3
any: minor changes
2021-03-12 08:42:41 +01:00
Michele Caini
bcaf1489c0
meta: extended template info support
2021-03-11 12:17:48 +01:00
Michele Caini
a85712e8aa
meta:
...
* removed has_meta_sequence_container[_v]
* removed has_meta_associative_container[_v]
2021-03-11 10:40:13 +01:00
Michele Caini
0f95d02cdc
any: minor changes
2021-03-10 08:55:02 +01:00
Michele Caini
c151d55237
dispatcher: help std::is_copy_constructible to solve its problems with std::vector :)
2021-03-10 08:51:06 +01:00
Michele Caini
785cd6bc11
storage ( close #675 ):
...
* stable sigh_storage_mixin::swap_and_pop
* added tests to avoid regressions
2021-03-09 16:09:19 +01:00
Michele Caini
8ec7e3cc97
test: suppress warnings for unused variables
2021-03-09 12:25:32 +01:00
Michele Caini
e376493970
test: removed unnecessary static functions
2021-03-09 12:17:00 +01:00
Michele Caini
08e2322d79
test: meta corner cases and re-registration
2021-03-09 12:11:25 +01:00
Michele Caini
2832767daa
meta: updated doc
2021-03-09 12:10:55 +01:00
Michele Caini
62e12ee0aa
meta: no need to check the instance in the dtor wrapper
2021-03-09 10:34:06 +01:00
Michele Caini
80e73c1089
meta:
...
* props no longer depend on the value type
* more tests for meta_prop
2021-03-09 10:26:21 +01:00
Michele Caini
4f93995bd7
test: suppress warnings + increase code coverage
2021-03-09 10:24:28 +01:00
Michele Caini
03c7dac92f
meta: internal review to fully support re-registration
2021-03-09 09:50:48 +01:00
Michele Caini
d0b93f565a
meta: prop key is returned by const reference rather than by copy
2021-03-08 15:22:25 +01:00
Michele Caini
1512fbae55
meta: safer factory, no-op re-registration
2021-03-08 14:52:46 +01:00
Michele Caini
4d91afdf9f
meta: allow range-reset
2021-03-08 14:44:08 +01:00
Michele Caini
c239c3fea3
factory: avoid re-registration of data and type if already registered
2021-03-08 09:29:54 +01:00
Michele Caini
a0b431e8c4
doc: context aliased properties
2021-03-08 09:01:13 +01:00
Michele Caini
005e03aeb3
registry:
...
* context const correctness
* added support for aliased variables to context
* code coverage to avoid regressions
2021-03-06 22:51:01 +01:00
Michele Caini
6002d373e2
meta: factory ignores already existing unnamed meta objects
2021-03-05 11:32:32 +01:00
Michele Caini
a53066424b
meta: cleanup/minor changes
2021-03-04 10:22:36 +01:00
Michele Caini
38ab02ff88
doc: minor changes
2021-03-03 16:49:20 +01:00
Michele Caini
fee0b29a0b
registry: added missing template keyword (thanks msvc for accepting it anyway)
2021-03-03 14:24:38 +01:00
Michele Caini
2553695029
meta: minor changes
2021-03-03 12:26:59 +01:00
Michele Caini
301939983f
registry: minor changes
2021-03-03 12:26:11 +01:00
Michele Caini
cd9ae1fbad
poly: ::emplace support for reference types
2021-03-03 12:25:34 +01:00
Michele Caini
54e9bc86cc
doc: updated links
2021-03-02 12:05:49 +01:00
Michele Caini
a1dd4c28c3
view: clean up
2021-03-02 11:21:40 +01:00
Michele Caini
6d3857f337
registry: clean up
2021-03-01 23:55:57 +01:00
Michele Caini
c4be3e731a
poly: fwd.hpp
2021-02-28 23:29:36 +01:00
Michele Caini
ea4407b847
doc: fixed typo
2021-02-28 23:24:32 +01:00
Michele Caini
a62a83044f
poly: make it work also with non-default Len
2021-02-27 17:34:09 +01:00
Michele Caini
e7e7b06744
doc: updated links
2021-02-26 14:36:20 +01:00
Michele Caini
2222e31885
config: ENTT_PAGE_SIZE sets the number of elements of a page, not the size in bytes
2021-02-25 00:18:04 +01:00
Michele Caini
c3f7f83c55
registry/view ( close #660 ):
...
* const registry::view is no longer thread safe
* views are always valid when created from a registry, either const or not
* added a note to the doc about const registry and multithreading
2021-02-23 17:01:38 +01:00
Michele Caini
86e18f68c4
sparse_set: added unchecked operator[](pos)
2021-02-23 15:01:05 +01:00
Michele Caini
cc7d9e03d9
doc: updated list of similar projects
2021-02-23 14:39:37 +01:00
Michele Caini
c8639ae434
meta: minor changes
2021-02-23 12:00:59 +01:00
Michele Caini
85cf32516e
view: minor changes
2021-02-22 16:52:54 +01:00
Michele Caini
bc85817b07
doc: updated doc for type_seq and the like
2021-02-22 16:39:42 +01:00
Michele Caini
1016394be5
*: minor changes
2021-02-22 16:35:36 +01:00
Michele Caini
de35cbf4af
type_info: add conversion operators to underlying types ( close #664 )
2021-02-22 14:48:35 +01:00
Michele Caini
bb1acee36a
entity:
...
* sparse_set: added optional user data to ::remove and ::clear
* sparse_set: remove the payload, it was really meh
* storage: review sigh_storage_mixin, simplified storage_adapter_mixin
* registry: pass itself twhen adding/patchin/removing components
test: updated tests for sparse set and poly storage
examples: added a test to avoid regressions on storage_adapter_mixin
2021-02-22 14:32:29 +01:00
Michele Caini
c6a2ed78c3
poly: add missing template keyword
2021-02-22 09:45:55 +01:00
Michele Caini
7729958082
doc: updated links
2021-02-21 16:39:29 +01:00
Michele Caini
ccdaec86b3
poly: added configurable sbo size (0 -> forced dyn)
2021-02-20 00:12:43 +01:00
Michele Caini
42afeef993
any: updated tests (sbo vs zeroed sbo size)
2021-02-19 23:46:44 +01:00
Michele Caini
3d06911886
test: code coverage (codecov is odd sometimes)
2021-02-19 16:26:55 +01:00