Michele Caini
a9a1a71145
updated TODO list
2021-07-27 18:54:28 +02:00
Michele Caini
b5ec03f585
sparse_set:
...
* added get_allocator
* internal review
2021-07-27 18:54:28 +02:00
Michele Caini
feeb122c0d
updated todo list
2021-07-27 18:53:49 +02:00
Michele Caini
538425e35c
doc: in-place delete and pointer stability
2021-06-22 09:53:56 +02:00
Michele Caini
93d905d93d
updated TODO
2021-06-21 13:04:46 +02:00
Michele Caini
3e7dc7af29
entity:
...
* review of entt_traits design
* added static constexpr member function entt_traits::to_integral
* added static constexpr member function entt_traits::to_entity
* added static constexpr member function entt_traits::to_version
* added static constexpr member function entt_traits::to_type
* custom class identifiers must expose member type entity_field
* it's no longer required to specialize entt_traits (breaking change)
2021-05-28 08:59:50 +02:00
Michele Caini
0b3e3fd19a
doc: updated links ( close #709 ) and TODO file
2021-05-28 08:58:36 +02:00
Michele Caini
0ab46870ae
updated TODO list
2021-05-21 09:00:18 +02:00
Michele Caini
7fae655651
updated TODO file
2021-05-19 10:49:23 +02:00
Michele Caini
c0662816f1
updated TODO file
2021-05-14 18:24:09 +02:00
Michele Caini
3576c80d33
meta_any: drastically reduce the number of instantiations/size of vtable
2021-05-08 17:13:51 +02:00
Michele Caini
64d9380031
*: updated messages for deprecated functions
2021-05-08 17:13:51 +02:00
Michele Caini
a32ca8eb1d
doc: updated doc for any/meta_any/poly
2021-05-08 17:13:50 +02:00
Michele Caini
c4b169edd1
registry: make ::remove and ::erase work also with iterators returned by views
2021-05-07 11:16:32 +02:00
Michele Caini
c6bba98828
registry: ::destroy review
2021-05-06 16:34:36 +02:00
Michele Caini
b030df55ee
registry: clean up
2021-04-22 08:55:20 +02:00
Michele Caini
5380e6d98b
any: no redundant copies, better perf
2021-04-12 15:55:49 +02:00
Michele Caini
bf6576f5af
any: use std::addressof to get the address of an object reliably
2021-03-30 15:27:49 +02:00
Michele Caini
158c2ab76e
delegate: removed redundant calls to delegate constructors
2021-03-30 11:52:16 +02:00
Michele Caini
3b6dd23598
scheduler: small review for perf improvements
2021-03-27 22:48:54 +01:00
Michele Caini
d5e7005edd
doc: minor changes to make doxygen happy
2021-03-25 09:46:06 +01:00
Michele Caini
0e2afe4f98
resource: remove the requirement to use shared_ptr ( close #679 )
2021-03-24 12:03:43 +01:00
Michele Caini
5a4b067cee
view:
...
* removed view_pack and its tests
* added the possibility of combining different views
* updated documentation
2021-03-17 14:57:51 +01:00
Michele Caini
a40ac1c46c
registry: minor changes
2021-03-16 13:38:29 +01:00
Michele Caini
bcaf1489c0
meta: extended template info support
2021-03-11 12:17:48 +01:00
Michele Caini
1512fbae55
meta: safer factory, no-op re-registration
2021-03-08 14:52:46 +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
1016394be5
*: minor changes
2021-02-22 16:35:36 +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
e60cdb2e3b
config: update ENTT_PAGE_SIZE
2021-02-19 15:50:09 +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
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
169b816613
entity:
...
* sparse_set: stable virtual remove
* basic_storage: fake get for empty types,
* sigh_storage_mixin: use swap_and_pop, drop ::remove, ignore emptiness
* poly_storage: ::remove is no longer part of its interface by default
2021-02-16 14:46:42 +01:00
Michele Caini
3118cd4fa5
sparse_set: added ::at to get the entity at a given position, if any
2021-02-15 14:56:18 +01:00
Michele Caini
a8d95b284d
meta: general renaming, size -> arity when it returns the arity of a function
2021-02-12 11:05:07 +01:00
Michele Caini
5e4c63736b
meta: added minimal class template support to meta_type
2021-02-09 17:18:24 +01:00
Michele Caini
722033e906
meta: split node.hpp and meta.hpp
2021-02-09 09:59:51 +01:00
Michele Caini
e94c0d003a
any/registry:
...
* copying an entt::any always returns a copy of the contained object
* registry::storage returns references (eventually const) to the poly storage
2021-02-08 11:46:22 +01:00
Michele Caini
1912350cc6
registry: use entt::any to store context variables
2021-02-04 09:21:27 +01:00
Michele Caini
42cc480bf5
doc: updated links and TODO file
2021-01-23 18:39:08 +01:00
Michele Caini
fdde216f0e
doc: minor changes
2021-01-21 10:32:25 +01:00
Michele Caini
e1a537e547
doc: minor changes
2021-01-20 15:20:51 +01:00
Michele Caini
707574e294
meta: avoid warnings for unused variables
2021-01-04 12:25:55 +01:00
Michele Caini
e5841cd467
poly: suppress warnings for unused variables
2020-12-29 18:15:33 +01:00
Michele Caini
29c1766714
registry: const poly storage function
2020-12-24 16:48:07 +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
2daaf899d3
any: comparison functions (==, !=)
2020-12-23 09:42:33 +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