Commit Graph

  • e375097e43 doc: minor changes Michele Caini 2021-10-01 09:46:41 +02:00
  • c51bec0034 meta: add meta_range::operator-> Michele Caini 2021-09-30 17:34:16 +02:00
  • 081c3fdb5b iterator: added [[nodiscard]] to input_iterator_proxy::operator-> Michele Caini 2021-09-30 16:57:20 +02:00
  • f1e7602775 meta: added operator-> to meta containers' iterators Michele Caini 2021-09-30 16:46:03 +02:00
  • acd75ffe1c iterator: added utility input_iterator_proxy Michele Caini 2021-09-30 16:34:09 +02:00
  • fc813cb59b doc: minor changes Michele Caini 2021-09-30 14:40:12 +02:00
  • 044d14f542 *: minor changes Michele Caini 2021-09-29 16:12:39 +02:00
  • 28b9f07b99 *: code coverage, cleanup Michele Caini 2021-09-29 11:27:13 +02:00
  • 6f20dd4e45 test: suppress a wrong warning with toolset v141 Michele Caini 2021-09-29 11:09:37 +02:00
  • 2fc05e5b90 meta: add missing template keywords (thanks MSVC for accepting invalid code) Michele Caini 2021-09-29 11:01:55 +02:00
  • 9afde31f97 meta: make meta_any::assign work with mutating this pointers Michele Caini 2021-09-29 10:57:31 +02:00
  • e835ce0697 meta: make meta_any::allow_cast work with mutating this pointers Michele Caini 2021-09-29 09:49:22 +02:00
  • 6030f56c76 meta: make meta_any::try_cast work with mutating this pointers Michele Caini 2021-09-28 15:55:58 +02:00
  • ba89b53c63 doc: cleanup Michele Caini 2021-09-28 15:11:29 +02:00
  • 1bfb877a3b entity: adds to_entity and to_version to the entt namespace (see #788) Michele Caini 2021-09-28 14:52:52 +02:00
  • 72776d6fb6 entity: make return type of to_integral explicit Michele Caini 2021-09-28 14:31:09 +02:00
  • 7bb93420c4 storage: avoid reinventing the wheel :) Michele Caini 2021-09-27 08:31:24 +02:00
  • bb1b0e0581 sparse_set: minor changes Michele Caini 2021-09-26 11:13:51 +02:00
  • 45ddcf0df9 sparse_set: compare allocators before moving in the move operator assignment Michele Caini 2021-09-26 11:08:22 +02:00
  • 9c4d7a286f memory: avoid warnings due to unused parameters Michele Caini 2021-09-26 11:06:36 +02:00
  • 7b290b43b5 sparse_set: try not to reinvent the wheel :) Michele Caini 2021-09-26 10:30:21 +02:00
  • 2e2782b030 sparse_set: partial sorting not supported in case of tombstones Michele Caini 2021-09-25 18:29:45 +02:00
  • 48f23bd1ba doc: cleanup Michele Caini 2021-09-24 16:22:42 +02:00
  • 3ece33b26a any: avoid using addressof on the result of an operator assignment without a good reason :) Michele Caini 2021-09-24 13:14:22 +02:00
  • efa98379b0 meta: internal changes and cleanup Michele Caini 2021-09-24 12:24:47 +02:00
  • 324aeba70f meta: suppress a warning due to -Wignored-qualifiers (close #785) Michele Caini 2021-09-24 11:50:51 +02:00
  • 7b6715c7b5 test: code coverage for the storage class for empty types Michele Caini 2021-09-24 10:48:49 +02:00
  • 1ea392b6c9 test: minor changes to suppress a bunch of warnings + formatting Michele Caini 2021-09-24 10:12:08 +02:00
  • 8b1a3849e6 meta_any: support assigning the value wrapped by a meta_any Michele Caini 2021-09-23 11:12:48 +02:00
  • e1d7e98c92 any: minor changes Michele Caini 2021-09-23 10:36:30 +02:00
  • 04b2e1152c any: * when moving fails, try to copy anyway as a fallback * code coverage Michele Caini 2021-09-22 17:13:02 +02:00
  • d392eba4a0 test: code coverage Michele Caini 2021-09-22 16:49:42 +02:00
  • 799dec4f1c sparse_set: suppress a warning due to -Wreorder Michele Caini 2021-09-22 16:41:40 +02:00
  • 11df6ec927 type_id: cannot have a static variable in a constexpr function (right msvc?) Michele Caini 2021-09-22 16:37:33 +02:00
  • 03e363f5d9 any: added the ::assign function to copy/move assign the wrapped variable Michele Caini 2021-09-22 16:19:25 +02:00
  • 39211889b0 any (close #782): * make const type_info * a first citizen * further reduce vtable size Michele Caini 2021-09-22 12:46:38 +02:00
  • 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 Michele Caini 2021-09-22 10:48:20 +02:00
  • 49e702c0c7 hashed_string: minor changes Michele Caini 2021-09-22 08:34:31 +02:00
  • c9c5214b3e type_info: operator<, operator<=, operator> and operator>= Michele Caini 2021-09-22 08:29:47 +02:00
  • 24a537d154 meta: review conversion_helper for meta type nodes Michele Caini 2021-09-21 16:59:37 +02:00
  • c32ecf171b sparse_set: added user_data field Michele Caini 2021-09-21 15:54:26 +02:00
  • a62ae21628 any: const reference instead of pointer as default argument to ::data Michele Caini 2021-09-21 09:03:39 +02:00
  • 12f05e8f72 doc: fixed typo (close #784) Michele Caini 2021-09-20 08:07:05 +02:00
  • 81fb727d20 registry: improved ctx and the like (close #782) Michele Caini 2021-09-19 15:09:22 +02:00
  • e7655c761d test: code coverage Michele Caini 2021-09-18 23:22:00 +02:00
  • 464fcf4300 test: fix a test that I've broken a couple of commits ago :) Michele Caini 2021-09-18 00:06:50 +02:00
  • 73b67ea9df *: review enums Michele Caini 2021-09-18 00:02:35 +02:00
  • 04a9c80c14 *: removed pointless continue; Michele Caini 2021-09-17 23:44:15 +02:00
  • 80b5ed3d22 introduced clang-format (close #733) Michele Caini 2021-09-17 23:42:43 +02:00
  • be5ad379b6 *: another handful of changes to please clang-format Michele Caini 2021-09-17 17:21:26 +02:00
  • 13d901fbfa *: a handful of changes to please clang-format Michele Caini 2021-09-17 16:43:15 +02:00
  • f7e7273e91 *: minor changes Michele Caini 2021-09-16 23:09:22 +02:00
  • 4b3bd265a6 meta: minor changes Michele Caini 2021-09-15 11:23:30 +02:00
  • 42dcec961b meta: support for multi-setters on meta data members Michele Caini 2021-09-15 09:32:12 +02:00
  • 6b2a3b2916 meta: prepare for multi-setters on meta data members Michele Caini 2021-09-14 14:57:17 +02:00
  • 930f9ca436 any: minor changes Michele Caini 2021-09-14 08:52:44 +02:00
  • a96a767b9b test: code coverage Michele Caini 2021-09-13 19:32:23 +02:00
  • 36627dbe78 meta: * removed meta_ctor, no alternatives provided * removed meta_type::ctor overloads, no alternatives provided Michele Caini 2021-09-13 19:03:22 +02:00
  • f86bc31cbb meta: shared lookup function to avoid unnecessary casts when searching for a meta constructor Michele Caini 2021-09-13 16:34:57 +02:00
  • 4a08ca4b5e meta: minor changes Michele Caini 2021-09-13 14:58:08 +02:00
  • e857aa0640 meta: extrapolate can_cast_or_convert Michele Caini 2021-09-13 11:54:40 +02:00
  • d3c98ad334 meta_factory: cleanup Michele Caini 2021-09-13 11:25:31 +02:00
  • 00dadfe14d meta: reduce the size of instantiated symbols in meta_factory Michele Caini 2021-09-13 11:43:06 +02:00
  • f26fa92d47 handle: extended operator==/!= Michele Caini 2021-09-12 18:39:20 +02:00
  • 7458072df2 hashed_string (close #781): * operator< and operator<= * operator> and operator>= Michele Caini 2021-09-12 18:14:42 +02:00
  • 89aa2a1902 *: operator== is not defined as member if unnecessary Michele Caini 2021-09-12 17:52:29 +02:00
  • 7ab08779dc type_info: temporarily reintroduce type_info::index for performance reasons Michele Caini 2021-09-10 11:29:05 +02:00
  • 46b686910b any: * reintroduced operation::TYPE to avoid fat any types * added optional req parameter to data * much faster any_cast * much faster operator== * internal review Michele Caini 2021-09-10 11:22:07 +02:00
  • 940a799207 * : minor changes Michele Caini 2021-09-10 00:04:23 +02:00
  • 778cee3b27 any: * operator bool doesn't rely on the vtable * valid but unspecified state after move converts to true * compare type info objects to avoid future errors if the logic changes Michele Caini 2021-09-09 16:59:27 +02:00
  • 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?) Michele Caini 2021-09-09 14:49:39 +02:00
  • 608f7b75e2 any: avoid creating constexpr variables since constexpr-ness isn't guaranteed Michele Caini 2021-09-09 14:14:58 +02:00
  • 83853c3dee any: * ::type() returns the object type if any, type_id<void>() otherwise * avoid indirection when accessing the type Michele Caini 2021-09-09 14:00:08 +02:00
  • 8a0343ad6b any: avoid creating type_info objects if unnecessary Michele Caini 2021-09-09 11:44:36 +02:00
  • 92d43ce620 core: rename type_seq to type_index Michele Caini 2021-09-09 09:53:29 +02:00
  • 6943822fed type_info: * make the API closer to that of std::type_info * remove the ::seq member function * rename :.hash to ::hash_code Michele Caini 2021-09-09 09:44:58 +02:00
  • aa146c4125 type_info: avoid testing constexpr-ness because older compilers don't guarantee it Michele Caini 2021-09-09 09:04:04 +02:00
  • b8ec6babb5 any: * reduced vtable size * internal rework Michele Caini 2021-09-09 00:40:06 +02:00
  • 505f4a2b4f type_info: * constexpr support * reduce instantiations * reduce function calls/indirection Michele Caini 2021-09-09 00:20:20 +02:00
  • 1bb0d017c3 type_info: removed useless friend declaration Michele Caini 2021-09-08 23:43:28 +02:00
  • f33ce615d9 meta: suppress warnings due to ignored qualifiers on return types Michele Caini 2021-09-08 11:35:50 +02:00
  • 0edb49d7c6 core: minor changes Michele Caini 2021-09-08 09:13:54 +02:00
  • 1fa5a03605 test: code coverage Michele Caini 2021-09-07 17:13:53 +02:00
  • fc6bda5cd8 meta: turned an useless function into a constexpr value Michele Caini 2021-09-07 08:54:34 +02:00
  • 59589b6a71 meta: refine the conversion helper (mostly to please the toolset v141) Michele Caini 2021-09-06 14:51:35 +02:00
  • 57b0624a0a storage: suppress warnings for unused variables Michele Caini 2021-09-06 12:29:52 +02:00
  • 2f22395eea meta: * a more robust meta_any::allow_cast (reviewed all overloads) * removed internal meta_info dispatcher to reduce useless instantiations * reviewed meta_conversion_helper Michele Caini 2021-09-06 10:19:23 +02:00
  • 21bc8d4dfb meta: add meta_conv support to references Michele Caini 2021-09-04 11:43:47 +02:00
  • 2e74fd8196 meta: const correctness Michele Caini 2021-09-04 11:42:03 +02:00
  • fee48ab04c meta: also please toolset v141 :) Michele Caini 2021-09-03 18:55:51 +02:00
  • 591f885e67 meta: automatic conversion function to underlying type for enums (see #735) Michele Caini 2021-09-03 18:23:49 +02:00
  • ef803016c0 meta: suppress a shadow warning Michele Caini 2021-09-03 16:46:24 +02:00
  • bac51045e5 meta: automatic arithmetic conversions (see #735) Michele Caini 2021-09-03 13:57:18 +02:00
  • cb5e9393a4 meta: internal changes Michele Caini 2021-09-03 10:01:24 +02:00
  • 097509dd2a view: add operator[] to access (eventually unwrapped) components by entity (close #775) Michele Caini 2021-09-02 16:05:46 +02:00
  • 6cd44248c7 core: added tuple header and unwrap_tuple utility Michele Caini 2021-09-02 15:32:52 +02:00
  • 1fd61fbcef meta: added missing [[maybe_unused]] to suppress warnings Michele Caini 2021-09-01 10:06:28 +02:00
  • cd2245ef03 doc: fixed typo Michele Caini 2021-09-01 10:03:16 +02:00
  • 5ddc746915 memory: turn is_power_of_two in a constexpr function Michele Caini 2021-08-31 17:39:47 +02:00
  • f7d67067ad test: increase code coverage Michele Caini 2021-08-30 17:06:31 +02:00