Commit Graph

1521 Commits

Author SHA1 Message Date
Michele Caini
2f873f2dd2 -: storage_mixin.hpp -> mixin.hpp (non-storage mixins are also a thing) 2022-12-22 15:12:03 +01:00
Michele Caini
fde1a524ea sparse_set: ::get -> ::value (to avoid hiding from derived classes) 2022-12-22 13:10:57 +01:00
Michele Caini
3862184e88 sigh_mixin: support self managed storage classes 2022-12-20 15:30:37 +01:00
Michele Caini
f40fa3c2f6 test:
* use range destroy
* avoid compiler optimizations
2022-12-19 16:28:50 +01:00
Michele Caini
01bc93459b test (bench): the new entity storage enables the fast path in all cases 2022-12-19 15:30:30 +01:00
Michele Caini
151bd07391 sparse_set: revert optmized range push, it prevents self-managed storage classes 2022-12-19 08:24:08 +01:00
Michele Caini
935393aae0 sparse_set: better, faster range push 2022-12-16 18:45:51 +01:00
Michele Caini
2ffbe115b7 component_traits: revert entity customization support 2022-12-16 15:14:31 +01:00
Michele Caini
645973eb79 sparse_set: insert -> push 2022-12-15 18:11:19 +01:00
Michele Caini
1332307972 sparse_set: emplace -> push 2022-12-15 14:16:58 +01:00
Michele Caini
3dd82633a3 -: drop storage_mixin.cpp, I forgot to do it a couple of commits ago :) 2022-12-13 15:41:07 +01:00
Michele Caini
58d392e813 -: minor changes 2022-12-13 15:36:49 +01:00
Michele Caini
1d4d99d090 mixin: sigh_storage_mixin -> sigh_mixin 2022-12-13 10:53:07 +01:00
Michele Caini
423f7a555d is_equality_comparable: detect C-style arrays directly 2022-12-12 18:32:07 +01:00
Michele Caini
ed4c675211 sparse_set/storage: drop move_element 2022-12-12 09:38:58 +01:00
Michele Caini
24d6b98817 test: minor changes 2022-12-05 15:29:43 +01:00
Michele Caini
899f4baa63 storage:
* drop storage_for]_t]
* make storage_type[_t] deal with constness
2022-12-05 14:47:32 +01:00
Michele Caini
6316b60451 registry: make it work with storage<void> also in C++17 2022-12-02 10:56:03 +01:00
Michele Caini
7156803dbe test: local non-static constexpr variables 2022-11-25 11:11:54 +01:00
Michele Caini
3e5e41d88f test: cover some corner cases of the flow class 2022-11-24 09:33:04 +01:00
Michele Caini
0a82b777b2 component_traits: support specializations based on entity type 2022-11-23 14:53:31 +01:00
Michele Caini
32bcc01a46 component:
* make component_traits treat void properly
* drop ignore_as_empty_v
2022-11-23 12:36:21 +01:00
Michele Caini
5f12f872e6 test: minor changes 2022-11-23 11:04:56 +01:00
Michele Caini
9b9d212dde *: coding style 2022-11-22 12:44:31 +01:00
Michele Caini
66e1a05652 entity: sigh_helper utility with tests (close #928) 2022-11-21 10:38:42 +01:00
Michele Caini
262c1f53c1 cmake: only enable -Wdocumentation for clang-cl 2022-11-16 10:47:03 +01:00
Michele Caini
2c48cc10ae cmake: enable documentation diagnostic for clang 2022-11-16 10:23:00 +01:00
Michele Caini
bea7b43a1a delegate: target member function 2022-11-15 08:26:44 +01:00
Michele Caini
7c4493f237 group: make filter storage available 2022-11-14 11:19:22 +01:00
Michele Caini
da4e73ab85 view: make filter storage available 2022-11-14 11:00:57 +01:00
Michele Caini
d1558304f8 any: [[nodiscard]] 2022-11-13 11:15:42 +01:00
Michele Caini
b66b8d37eb test: suppress warning 2022-11-11 10:59:10 +01:00
Michele Caini
9c3d756692 test: cleanup include directives 2022-11-10 15:56:17 +01:00
Michele Caini
93651e46f5 registry: drop [[deprecated]] functions 2022-11-10 15:05:48 +01:00
Michele Caini
ea901cbfa0 test: code coverage 2022-11-09 12:15:03 +01:00
Michele Caini
d0ea8f4f96 cmake: suppress some warnings for clang-cl, it goes a little wrong otherwise 2022-11-09 12:15:02 +01:00
Michele Caini
dec3b7bb39 test: suppress warnings 2022-11-09 12:15:02 +01:00
Michele Caini
10bc8b05ad test: use /W1 with VS (but for toolset v141, too bugged for that) 2022-11-09 12:15:02 +01:00
Michele Caini
5119fe8d7b scheduler: basic type model with default for common cases 2022-11-09 12:15:01 +01:00
Michele Caini
74bab529d2 test: minor changes 2022-11-09 12:15:01 +01:00
Michele Caini
7beb4c85c4 test: suppress a few warnings (entity) 2022-11-09 12:15:01 +01:00
Michele Caini
f3beb5670a test: suppress a few warnings (container) 2022-11-09 12:15:01 +01:00
Michele Caini
446c67b69a test: suppress a few warnings (resource) 2022-11-09 12:15:01 +01:00
Michele Caini
c4507bd172 test: suppress a few warnings (poly) 2022-11-09 12:15:01 +01:00
Michele Caini
61e872bb4e test: suppress a few warnings (meta) 2022-11-09 12:15:01 +01:00
Michele Caini
9f22a3e23a test: suppress a few warnings (memory) 2022-11-09 12:15:00 +01:00
Michele Caini
653dd5cd42 test: suppress a few warnings (tuple) 2022-11-09 12:15:00 +01:00
Michele Caini
bc53ed3be9 test: suppress a few warnings (flow) 2022-11-09 12:15:00 +01:00
Michele Caini
95b443af16 tuple: is_tuple[_v] implementation 2022-10-24 11:15:34 +02:00
Michele Caini
4398c962e7 memory:
* use ENTT_ASSERT_CONSTEXPR
* turn the power-of-two toolset into a constexpr one as it ought to be
2022-10-22 19:10:40 +02:00