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
Michele Caini
98f929e41e
any: try to get around an issue with clang only
2021-02-19 16:23:33 +01:00
Michele Caini
94d4e0231e
*: suppress a few warnings + fix a call that msvc accepted by mistake
2021-02-19 16:11:19 +01:00
Michele Caini
e60cdb2e3b
config: update ENTT_PAGE_SIZE
2021-02-19 15:50:09 +01:00
Michele Caini
550c021097
any: make VS happy :)
2021-02-19 14:56:39 +01:00
Michele Caini
1aec7f71b8
any: doc + test for configurable sbo
2021-02-19 14:45:26 +01:00
Michele Caini
07565927f2
any:
...
* added configurable sbo size (0 -> forced dyn)
* reverted changes for forced dyn vtable
2021-02-19 12:51:30 +01:00
Michele Caini
fda78ede1b
any: prepare for in-place forced dynamic construction
2021-02-19 11:48:25 +01:00
Michele Caini
1249a4f8d3
any/meta_any/poly: as_ref is a member function, no longer an in-class friend function exported in the global namespace
2021-02-19 11:19:32 +01:00
Michele Caini
4e631f1536
meta_handle: deleted copy constructor ( close #661 )
2021-02-18 23:49:39 +01:00
Michele Caini
1757dbc225
registry: get around an issue of gcc
2021-02-16 17:12:02 +01:00
Michele Caini
8149e204d2
*: refine code that msvc accepts by mistake ( 🤦♂️ )
2021-02-16 15:55:45 +01:00