Michele Caini
05b514b743
Revert "entity: minor changes"
...
This reverts commit af69a0a1fd .
2020-11-02 14:05:07 +01:00
Michele Caini
22596e0f5b
entity: added handle_view ( close #583 )
2020-11-02 13:05:38 +01:00
Michele Caini
e7031794df
registry: suppress some warnings ( close #582 )
2020-11-01 21:49:09 +01:00
Michele Caini
af69a0a1fd
entity: minor changes
2020-11-01 00:29:04 +01:00
Michele Caini
52fa690764
view: added use<T> to set explicitly the type that should drive all iterations in a multi type view
2020-10-29 00:03:26 +01:00
Michele Caini
4ad411e320
traits: is_eto_eligible[_v] -> is_empty[_v], internal version
2020-10-28 22:58:26 +01:00
Michele Caini
09da190e93
entity/*: rollback erase -> remove (no longer a breaking change :)
2020-10-28 16:24:44 +01:00
Michele Caini
797dd56bb7
test: removed temporary multi storage example, added a note to the todo list for a refined example
2020-10-28 16:16:52 +01:00
Michele Caini
5e1d77fcd5
doc: updated documentation for registry remove/erase
2020-10-28 13:03:15 +01:00
Michele Caini
2820f2658b
entity/: differentiate between remove and erase to avoid name clashing on the custom path (breaking changes)
2020-10-28 12:21:35 +01:00
Michele Caini
f3fc32660b
*: updated TODO
2020-10-28 08:43:43 +01:00
Michele Caini
2d4b00ec24
registry: added ::destroyed, made ::assign much faster (breaking changes, close #522 )
2020-10-27 23:01:28 +01:00
Michele Caini
86808f5035
doc: minor changes
2020-10-27 09:06:18 +01:00
Michele Caini
82946e2372
pool: storage_adapter -> storage_adapter_mixin
2020-10-27 00:09:32 +01:00
Michele Caini
22d117a397
doc: fixed typo ( close #578 )
2020-10-26 22:35:49 +01:00
Michele Caini
662cfc9fdc
*: cleanup
2020-10-26 15:41:54 +01:00
Michele Caini
a3e73909cf
group/view/view_pack: review
2020-10-26 15:31:00 +01:00
Michele Caini
95bafc8ced
*: try to get around an issue of gcc v7.5
2020-10-26 15:29:58 +01:00
Michele Caini
05f1906f77
*: get around an issue with clang
2020-10-26 12:43:55 +01:00
Michele Caini
dbbb131424
view_pack: added more functionalities
2020-10-26 12:38:45 +01:00
Michele Caini
fc7ec35242
doc/test: minor changes
2020-10-26 12:29:45 +01:00
Michele Caini
7ac10472dc
view/group: small review
2020-10-26 10:50:17 +01:00
Michele Caini
d255889c5c
group: added reverse iterators, rbegin and rend to iterable groups
2020-10-26 08:55:17 +01:00
Michele Caini
7662da22fc
view: added reverse iterators, rbegin and rend to iterable views
2020-10-25 23:19:56 +01:00
Michele Caini
64cc200df0
test: code coverage
2020-10-25 15:13:13 +01:00
Michele Caini
63c983683c
meta: avoid shadow warnings
2020-10-25 15:13:13 +01:00
Michele Caini
92f79c99f7
meta: review overloaded meta functions
2020-10-25 15:13:13 +01:00
Innokentiy Alaytsev
24f937fe4f
[meta] Meta-function overload support ( #538 )
...
Now meta-functions can be overloaded. When a function with a duplicate
identifier is registered, it's added into the meta-type function list after the
first meta-function with the same id. During the invocation, the meta-functions
with the requested id are iterated, and the best matching one is chosen. The
overload that doesn't require any type conversions or the minimal number of
those is considered the best match. If none of the overloads matches the given
arguments or if there are multiple matching overloads requiring the same number
of type casts then the invocation will fail the same way it happens in C++.
Signed-off-by: Innokentiy Alaytsev <alaitsev@gmail.com >
2020-10-25 15:13:13 +01:00
Michele Caini
47bb682890
doc: updated links
2020-10-23 21:16:38 +02:00
codylico
9ab674ef9a
doc: add a note on registry::try_get ( #576 )
2020-10-23 23:12:35 +02:00
Michele Caini
83eb0de916
doc: updated links
2020-10-22 09:11:52 +02:00
Koward
6359a12dbb
doc: Unreal Engine 4 usage instructions ( #574 )
2020-10-22 09:09:00 +02:00
Michele Caini
eb8e96f413
example: multi instance storage
2020-10-21 08:40:03 +02:00
Michele Caini
138bd96167
doc: updated links
2020-10-21 08:34:22 +02:00
Michele Caini
0d5ea4711d
pool/storage: split storage_adapter from basic_storage
2020-10-20 09:45:11 +02:00
Michele Caini
fa4212f07b
storage_adapter: extended ::remove
2020-10-20 08:54:58 +02:00
Michele Caini
c7635a7e3d
*: updated todo list
2020-10-20 08:23:21 +02:00
Michele Caini
3923c4cfd2
test: more tests, suppress warnings
2020-10-19 22:46:37 +02:00
Michele Caini
6ad884080c
meta_func/meta_ctor: support for registering external member functions
2020-10-19 22:38:08 +02:00
Michele Caini
c578a43611
doc: updated doxy file
2020-10-19 12:24:35 +02:00
Michele Caini
aebfa7161f
registry: extended ::remove
2020-10-19 12:01:04 +02:00
Michele Caini
682bc502e2
view_pack: minor changes
2020-10-19 09:08:49 +02:00
Michele Caini
cf018ff74c
entity: updated operator==/operator!= ( close #573 )
2020-10-18 23:37:18 +02:00
Michele Caini
5a9cb251ad
doc: updated links
2020-10-18 23:24:48 +02:00
Jan Niklas Hasse
bbbf5a5edf
Allow compilation for Windows with GNU-like compilers ( #566 )
...
Besides MSVC (and compatible compilers like clang-cl) there's also GCC
(MinGW) and GNU-like Clang on Windows. Therefore setting command line
flags in CMake should check for MSVC instead of $<PLATFORM_ID:Windows>.
2020-10-17 18:26:50 +02:00
Michele Caini
7df0449100
view_pack: suppress a shadow warning caused by an unused variable
2020-10-17 18:22:26 +02:00
Michele Caini
820add87ea
test: gtest is now working as expected ( close #571 )
2020-10-17 18:19:49 +02:00
Michele Caini
9a574aa00c
doc: more on view_pack
2020-10-17 18:11:09 +02:00
Michele Caini
10da82a331
view_pack: ::each allows to remove the entity from the callback
2020-10-17 18:08:43 +02:00
Michele Caini
26c816e78c
type_traits: is_applicable[_v] and is_applicable_r[_v] for tuples
2020-10-17 17:51:58 +02:00