Michele Caini
dd6863f71d
update single include file
v3.8.1
2021-07-28 09:58:14 +02:00
Michele Caini
dc7c976518
Ready to cut v3.8.1
2021-07-28 09:56:40 +02:00
Michele Caini
3408556eea
sparse_set: fix an issue with assuring pages properly on emplace ( close #746 )
2021-07-27 18:53:30 +02:00
Michele Caini
f94b9773da
build system: test id type std::uint64_t on the CI, all platforms
2021-07-26 23:37:55 +02:00
Michele Caini
e0b3786d97
test: make tests for entity traits work when id_type is std::uint64_t
2021-07-26 23:37:50 +02:00
Michele Caini
4047cb01a8
test: make tests for hashed string work when id_type is std::uint64_t
2021-07-26 23:37:46 +02:00
Michele Caini
8cfd08b137
sparse set: make vs2017 work (more or less) fine when id_type is std::uint64_t
2021-07-26 23:37:42 +02:00
Michele Caini
311011672c
entity: avoid UBs when id type is std::uint64_t ( close #745 )
2021-07-26 23:37:39 +02:00
Hussein Taher
6df19c833d
snapshot: fix warning for discarding a nodiscard ( #728 )
2021-07-26 23:37:36 +02:00
Michele Caini
78d9e71888
test: get rid of inconsistent line ( close #741 )
2021-07-26 23:37:32 +02:00
Michele Caini
94131648dd
type_traits: try to also please gcc :)
2021-07-26 23:37:12 +02:00
Michele Caini
151f180199
core: make is_equality_comparable[_v] work with iterators ( close #739 )
2021-07-26 23:37:02 +02:00
Michele Caini
bb8bfaf262
meta_any: avoid risky fallthrough in the vtable ( close #736 )
2021-07-26 23:36:51 +02:00
Michele Caini
2d5a3f24aa
doc: updated documentation
v3.8.0
2021-07-21 00:07:02 +02:00
Michele Caini
1639429edd
registry: minor changes
2021-07-01 15:32:30 +02:00
Michele Caini
f81abf4883
add cpp.hint to .gitignore
2021-07-01 12:32:18 +02:00
Michele Caini
dcddb7d50e
registry: allow non-const types in const overloads of registry context variable getters ( close #720 )
2021-06-30 09:35:36 +02:00
Michele Caini
42a763031c
storage: minor changes
2021-06-30 08:55:21 +02:00
Michele Caini
0964ca5918
storage: turn to assure_at_least based on position to avoid errors at call site
2021-06-29 16:36:00 +02:00
Michele Caini
4e870b83cd
test: suppress warnings due to suggested braces
2021-06-29 15:17:58 +02:00
Michele Caini
0b19c9be0b
storage: add override specifier
2021-06-29 15:10:41 +02:00
Michele Caini
ac655902a0
storage:
...
* internal review for memory management
* added support for nosy destructors to ::in_place_pop
* optimized ::emplace/::insert
2021-06-29 15:05:03 +02:00
Michele Caini
e4fb293b55
sparse_set: added ::emplace_back
2021-06-29 12:37:39 +02:00
Michele Caini
d3df64ef4b
sparse_set: emplace returns the slot used for insertion
2021-06-28 18:51:28 +02:00
Michele Caini
93e3d14f34
sparse_set: added ::slot to return the next slot available for insertion
2021-06-28 18:46:02 +02:00
Michele Caini
bc687d412d
test: suppress some warnings due to [[nodiscard]]
2021-06-28 18:02:43 +02:00
Michele Caini
71e85b44b0
sparse_set: make ::policy [[nodiscard]]
2021-06-28 18:00:40 +02:00
Michele Caini
d4b59aff97
sparse_set: tombstone/null debug check in ::contains
2021-06-28 16:51:24 +02:00
Michele Caini
e3c21e1f3d
sparse_set/storage ( close #707 ):
...
* improved perf on erase/remove (and therefore also registry::destroy)
* allow to inhibit a pop from derived classes
* removed about_to_pop (virtual) function
2021-06-28 15:53:59 +02:00
Michele Caini
e012250e0a
type_traits: minor changes
2021-06-28 11:43:27 +02:00
Michele Caini
c6bf82664c
doc: added a note about optimized range-destroy
2021-06-28 11:20:40 +02:00
Michele Caini
c61e98009f
registry/benchmark: rollback optimized remove/erase (benchmarks have shown that they are not worth it)
2021-06-28 10:19:27 +02:00
Michele Caini
44bccaaad6
basic_registry:
...
* added fast path to destroy
* added fast path to remove
* added fast path to erase
* minor changes
2021-06-28 09:24:12 +02:00
Michele Caini
aebca14dea
view: added member type iterator_type to internal class view_iterator
2021-06-28 09:10:52 +02:00
Michele Caini
4576f27f6e
sparse_set: minor changes
2021-06-28 09:10:12 +02:00
Michele Caini
0c213fca40
type_traits:
...
* added entt::is_iterator[_v]
* added entt::is_iterator_type[_v]
2021-06-28 09:09:55 +02:00
Michele Caini
891f596191
view: minor changes
2021-06-25 17:26:22 +02:00
Michele Caini
eb2b724902
benchmark: tombstone policy runs
2021-06-24 14:04:35 +02:00
Michele Caini
1f8c896181
registry:
...
* deprecated ::destroyed (use ::released instead)
* added ::release overloads (aka force-destroy)
2021-06-24 10:51:03 +02:00
Michele Caini
12b39e1fbe
doc: added missing tokens
2021-06-23 16:35:00 +02:00
Michele Caini
206d31f27a
registry: const ::view/::group also support non-const types ( close #715 )
2021-06-23 15:37:46 +02:00
Michele Caini
6709331182
resource_handle: conversion functions ( close #706 )
2021-06-22 18:54:27 +02:00
Michele Caini
9460e04ea5
entt_traits: review/cleanup
2021-06-22 15:39:15 +02:00
Michele Caini
462bfea733
entt_traits: review to reduce the risk of ambiguous calls
2021-06-22 13:03:32 +02:00
Michele Caini
a2d61dfaeb
runtime_view: suppress warning for shadow parameter
2021-06-22 09:58:19 +02:00
Michele Caini
538425e35c
doc: in-place delete and pointer stability
2021-06-22 09:53:56 +02:00
Michele Caini
2e86c1f1a2
component: add basic_component_traits aside component_traits
2021-06-22 09:52:43 +02:00
Michele Caini
8aa4d46ce0
runtime_view: support for storage policy (tombstones)
2021-06-21 15:18:13 +02:00
Michele Caini
cdf67a1421
sparse_set: public ::policy method for opaque runtime detection
2021-06-21 14:44:09 +02:00
Michele Caini
93d905d93d
updated TODO
2021-06-21 13:04:46 +02:00