Michele Caini
0ab71bc2e7
view: return a const reference to the leading storage
2021-10-01 16:26:11 +02:00
Michele Caini
81e6bbe643
test: minor changes (thanks msvc for accepting invalid code)
2021-10-01 11:05:21 +02:00
Michele Caini
c4723f3b24
view/group: added missing operator-> here and there
2021-10-01 10:57:32 +02:00
Michele Caini
df4d8e0411
meta: make meta_iterator::operator-> const as it ought to be
2021-10-01 10:57:16 +02:00
Michele Caini
4f1820bcad
iterator: review of input iterator pointer type
2021-10-01 10:24:05 +02:00
Michele Caini
e375097e43
doc: minor changes
2021-10-01 09:46:41 +02:00
Michele Caini
c51bec0034
meta: add meta_range::operator->
2021-09-30 17:34:16 +02:00
Michele Caini
081c3fdb5b
iterator: added [[nodiscard]] to input_iterator_proxy::operator->
2021-09-30 16:57:20 +02:00
Michele Caini
f1e7602775
meta: added operator-> to meta containers' iterators
2021-09-30 16:56:58 +02:00
Michele Caini
acd75ffe1c
iterator: added utility input_iterator_proxy
2021-09-30 16:34:09 +02:00
Michele Caini
fc813cb59b
doc: minor changes
2021-09-30 14:41:33 +02:00
Michele Caini
044d14f542
*: minor changes
2021-09-29 16:12:39 +02:00
Michele Caini
28b9f07b99
*: code coverage, cleanup
2021-09-29 11:27:13 +02:00
Michele Caini
6f20dd4e45
test: suppress a wrong warning with toolset v141
2021-09-29 11:09:37 +02:00
Michele Caini
2fc05e5b90
meta: add missing template keywords (thanks MSVC for accepting invalid code)
2021-09-29 11:03:08 +02:00
Michele Caini
9afde31f97
meta: make meta_any::assign work with mutating this pointers
2021-09-29 10:57:31 +02:00
Michele Caini
e835ce0697
meta: make meta_any::allow_cast work with mutating this pointers
2021-09-29 09:49:22 +02:00
Michele Caini
6030f56c76
meta: make meta_any::try_cast work with mutating this pointers
2021-09-28 18:50:03 +02:00
Michele Caini
ba89b53c63
doc: cleanup
2021-09-28 15:11:29 +02:00
Michele Caini
1bfb877a3b
entity: adds to_entity and to_version to the entt namespace (see #788 )
2021-09-28 14:52:52 +02:00
Michele Caini
72776d6fb6
entity: make return type of to_integral explicit
2021-09-28 14:31:09 +02:00
Michele Caini
7bb93420c4
storage: avoid reinventing the wheel :)
2021-09-27 08:55:50 +02:00
Michele Caini
bb1b0e0581
sparse_set: minor changes
2021-09-26 23:28:32 +02:00
Michele Caini
45ddcf0df9
sparse_set: compare allocators before moving in the move operator assignment
2021-09-26 11:08:55 +02:00
Michele Caini
9c4d7a286f
memory: avoid warnings due to unused parameters
2021-09-26 11:06:36 +02:00
Michele Caini
7b290b43b5
sparse_set: try not to reinvent the wheel :)
2021-09-26 10:59:00 +02:00
Michele Caini
2e2782b030
sparse_set: partial sorting not supported in case of tombstones
2021-09-25 18:29:45 +02:00
Michele Caini
48f23bd1ba
doc: cleanup
2021-09-24 16:22:42 +02:00
Michele Caini
3ece33b26a
any: avoid using addressof on the result of an operator assignment without a good reason :)
2021-09-24 13:29:16 +02:00
Michele Caini
efa98379b0
meta: internal changes and cleanup
2021-09-24 12:49:43 +02:00
Michele Caini
324aeba70f
meta: suppress a warning due to -Wignored-qualifiers ( close #785 )
2021-09-24 11:50:51 +02:00
Michele Caini
7b6715c7b5
test: code coverage for the storage class for empty types
2021-09-24 11:18:11 +02:00
Michele Caini
1ea392b6c9
test: minor changes to suppress a bunch of warnings + formatting
2021-09-24 10:19:13 +02:00
Michele Caini
8b1a3849e6
meta_any: support assigning the value wrapped by a meta_any
2021-09-24 10:08:59 +02:00
Michele Caini
e1d7e98c92
any: minor changes
2021-09-23 10:36:30 +02:00
Michele Caini
04b2e1152c
any:
...
* when moving fails, try to copy anyway as a fallback
* code coverage
2021-09-22 17:13:02 +02:00
Michele Caini
d392eba4a0
test: code coverage
2021-09-22 16:49:42 +02:00
Michele Caini
799dec4f1c
sparse_set: suppress a warning due to -Wreorder
2021-09-22 16:41:40 +02:00
Michele Caini
11df6ec927
type_id: cannot have a static variable in a constexpr function (right msvc?)
2021-09-22 16:38:41 +02:00
Michele Caini
03e363f5d9
any: added the ::assign function to copy/move assign the wrapped variable
2021-09-22 16:27:56 +02:00
Michele Caini
39211889b0
any ( close #782 ):
...
* make const type_info * a first citizen
* further reduce vtable size
2021-09-22 12:48:25 +02:00
Michele Caini
db44549276
type_info/type_id:
...
* type_info is no longer default constructible
* users cannot construct type_info objects anymore
* make type_id refer to an object with static storage duration
2021-09-22 12:41:09 +02:00
Michele Caini
49e702c0c7
hashed_string: minor changes
2021-09-22 08:34:31 +02:00
Michele Caini
c9c5214b3e
type_info: operator<, operator<=, operator> and operator>=
2021-09-22 08:34:18 +02:00
Michele Caini
24a537d154
meta: review conversion_helper for meta type nodes
2021-09-21 17:11:28 +02:00
Michele Caini
c32ecf171b
sparse_set: added user_data field
2021-09-21 15:54:26 +02:00
Michele Caini
a62ae21628
any: const reference instead of pointer as default argument to ::data
2021-09-21 09:03:39 +02:00
Michele Caini
12f05e8f72
doc: fixed typo ( close #784 )
2021-09-20 08:07:05 +02:00
Michele Caini
81fb727d20
registry: improved ctx and the like ( close #782 )
2021-09-19 15:14:43 +02:00
Michele Caini
e7655c761d
test: code coverage
2021-09-18 23:22:00 +02:00