Michele Caini
507bafdd9c
any/meta_any: revert changes to introduce ::hash
2022-02-22 12:15:09 +01:00
Michele Caini
87bc2cb1ab
any: try to also please gcc7
2022-02-08 11:20:49 +01:00
Michele Caini
fa8362f000
any: ::hash function for hashable types ( close #629 )
2022-02-08 11:02:30 +01:00
Michele Caini
a1e14d5740
doc: memory (power of two, fast modulus, allocate_unique, ...)
2022-02-05 00:18:57 +01:00
Michele Caini
db829b21aa
doc: minor changes
2022-02-04 08:53:23 +01:00
Michele Caini
74cdf000b4
doc: fixed a couple of typos
2021-10-26 15:44:05 +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
03e363f5d9
any: added the ::assign function to copy/move assign the wrapped variable
2021-09-22 16:27:56 +02:00
Michele Caini
7ab08779dc
type_info: temporarily reintroduce type_info::index for performance reasons
2021-09-10 11:29:05 +02:00
Michele Caini
fb3252732b
type_info: name rollback, hash_code -> hash (why should I introduce a breaking change to match a terrible name from the standard library after all?)
2021-09-09 14:49:39 +02:00
Michele Caini
92d43ce620
core: rename type_seq to type_index
2021-09-09 09:53:29 +02:00
Michele Caini
6943822fed
type_info:
...
* make the API closer to that of std::type_info
* remove the ::seq member function
* rename :.hash to ::hash_code
2021-09-09 09:44:58 +02:00
Michele Caini
4b629045c3
core: added enum-as-bitmask support for enum classes (thanks to @TerensTare for the suggestion)
2021-08-05 10:42:42 +02:00
Michele Caini
8978a0d159
core:
...
* added trait is_ebco_eligible[_v]
* added class compressed_pair
* tests and doc for compressed_pair
2021-07-27 18:53:49 +02:00
Michele Caini
eca7484e30
doc: updated doc for any/meta_any
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
3d6202ecfd
any: make_any
2021-05-08 17:13:50 +02:00
Michele Caini
a936f7cdbe
doc: added a note about configurable alignment requirements for any and poly
2021-03-24 12:03:43 +01:00
Michele Caini
1aec7f71b8
any: doc + test for configurable sbo
2021-02-19 14:45:26 +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
997dd433b3
doc: type list and value list
2021-01-15 11:04:06 +01:00
Alex Perry
52cade9267
doc: fixed missing prefix "L" ( #622 )
2021-01-01 23:46:24 +01:00
Michele Caini
aa979b2046
any/meta:
...
* added alias constructor to any
* added alias constructor to meta_any
* added alias constructor to poly
* added support for const containers, const deref operator and const views to meta_any
2020-12-23 09:42:36 +01:00
Michele Caini
2daaf899d3
any: comparison functions (==, !=)
2020-12-23 09:42:33 +01:00
Michele Caini
ade3e58829
any: added support to const references
2020-12-23 09:41:49 +01:00
Michele Caini
a344a1ca59
doc: typo
2020-12-12 15:37:11 +01:00
Michele Caini
5f539ddfb7
doc: updated documentation (core, entity, poly)
2020-12-12 15:13:46 +01:00
Michele Caini
c95041d7c3
core: standalone any class
2020-12-02 11:10:04 +01:00
Michele Caini
6c9fab7da1
type_traits: minor changes
2020-12-02 11:09:51 +01:00
Michele Caini
90606bd410
hashed_string: literals are now enclosed within entt::literals, ENTT_HS_SUFFIX and ENTT_HWS_SUFFIX no longer exist ( close #590 )
2020-11-20 09:43:28 +01:00
Michele Caini
ec56651959
doc: fixed typo in core.md
2020-11-08 00:58:48 +01:00
Michele Caini
0c205431b0
doc: updated documentation for the core classes
2020-11-08 00:37:06 +01:00
Michele Caini
7967c6dfc8
traits: added size_of[_v]
2020-10-06 09:08:11 +02:00
Michele Caini
5ac76d29fc
doc: minor changes
2020-09-24 08:44:41 +02:00
Michele Caini
ecc3c56cb1
doc: removed all references to old type_info class template
2020-09-24 08:25:49 +02:00
Michele Caini
3cd32c74a1
type info: updated documentation
2020-09-24 08:25:49 +02:00
Michele Caini
6e040fa87c
doc: more on hashed strings ( close #559 )
2020-09-24 00:09:45 +02:00
Michele Caini
d1d73da039
doc: fixed typo ( close #534 )
2020-07-28 21:51:59 +02:00
Michele Caini
d1c5a62a9d
core: type_traits, added is_dereferenceable[_v]
2020-06-18 11:30:55 +02:00
Michele Caini
f5edc9e973
doc: core, type_info<T>::name
2020-06-05 14:57:24 +02:00
Michele Caini
98df1d6004
config: type index based lookup as opt-in alternative ( close #490 )
2020-06-03 17:13:11 +02:00
Michele Caini
2a86acfc50
doc: updated documentation for the core part
2020-04-14 18:35:03 +02:00
Michele Caini
8151fbcb2e
core: tag is no longer deprecated ( close #457 )
2020-04-06 23:21:17 +02:00
Michele Caini
52aa9ab761
type_info: split type_info::index to type_index::value
2020-04-01 00:14:28 +02:00
Michele Caini
30d426d667
doc: updated core section
2020-03-28 17:01:04 +01:00
Michele Caini
d9f93ccc11
moved tags from entity/helper to core/type_traits (see #419 )
2020-02-18 09:58:51 +01:00
Michele Caini
072761c5ba
updated doc
2019-12-31 00:37:52 +01:00
Michele Caini
7a3b7593d0
doc: updated documentation
2019-12-29 15:16:12 +01:00
Michele Caini
52bcf63554
more on hashed strings and unique identifiers
2019-05-27 00:07:40 +02:00
Michele Caini
112d13c127
updated doc
2019-03-28 14:56:50 +01:00