You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refine type_info definition to favor concepts over sfinae
Invoking as_ref on an empty any returns and empty any
entity
View-to-view conversion support for all view types
Added concept entt_like
Refine component_traits definition to favor concepts over sfinae
meta:
name returns an std::string_view for all meta objects
Added the new meta_base object
base() returns meta_base objects in all cases
Added concept meta_policy
Support name clashing between meta data/functions and types
Refine is_meta_pointer_like definition to favor concepts over sfinae
Copying a meta_any that wraps a non-copyable type returns an invalid meta_any
Added a non-const overload of meta_any::operator*
Pointers are no longer pointer-like types
meta_any supports all dereferenceable types, i.e. optionals (constness is also guaranteed)
signal:
Support enqueueing the same event type in a dispatcher from listeners
stl:
A brand new submodule, mainly designed for internal purposes
tools:
Make davey visit meta base types
Conditionally include <imgui> in davey.hpp
Build system
C++20 is now required to use EnTT
Minimum cmake version updated to 3.28
Minimum doxygen version updated to 1.14
Natvis support
All natvis files have been updated where necessary.
Breaking changes
config:
ENTT_CONSTEXPR is no longer available, use constexpr instead
ENTT_NOEXCEPTION renamed into ENTT_NO_EXCEPTION
core:
entt::identity is no longer available, use std::identity instead
entt::popcount is no longer available, use std::popcount instead
entt::has_single_bit is no longer available, use std::has_single_bit instead
entt::next_power_of_two is no longer available, use std::bit_ceil instead
entt::type_identity is no longer available, use std::type_identity instead
entt::to_address is no longer available, use std::to_address instead
type_info no longer matches sfinae-based specialization, use concepts instead
entity:
component_traits no longer matches sfinae-based specialization, use concepts instead
meta:
base() returns meta_base objects instead of meta_types
is_meta_pointer_like no longer matches sfinae-based specialization, use concepts instead
Pointers are no longer pointer-.like types, check the right trait as needed
Any other business
The entire library is now more and more C++20-ish.
All previously deprecated functions and classes have been removed.
The clang-format configuration has been updated to match with the coding style.
The documentation is up-to-date and the library is battle-tested with 100% coverage as usual.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Changelog
config:ENTT_CONSTEXPRis no longer availableENTT_NOEXCEPTIONrenamed intoENTT_NO_EXCEPTIONENTT_USE_STL(mainly for testing purposes)core:entt::identityis no longer availableentt::popcountis no longer availableentt::has_single_bitis no longer availableentt::next_power_of_twois no longer availableentt::type_identityis no longer availableentt::to_addressis no longer availableenum_bitmaskcvref_unqualifiedtype_infodefinition to favor concepts over sfinaeas_refon an emptyanyreturns and emptyanyentityentt_likecomponent_traitsdefinition to favor concepts over sfinaemeta:namereturns anstd::string_viewfor all meta objectsmeta_baseobjectbase()returnsmeta_baseobjects in all casesmeta_policyis_meta_pointer_likedefinition to favor concepts over sfinaemeta_anythat wraps a non-copyable type returns an invalidmeta_anymeta_any::operator*meta_anysupports all dereferenceable types, i.e. optionals (constness is also guaranteed)signal:stl:tools:daveyvisit meta base types<imgui>indavey.hppBuild system
EnTTNatvis support
All natvis files have been updated where necessary.
Breaking changes
config:ENTT_CONSTEXPRis no longer available, useconstexprinsteadENTT_NOEXCEPTIONrenamed intoENTT_NO_EXCEPTIONcore:entt::identityis no longer available, usestd::identityinsteadentt::popcountis no longer available, usestd::popcountinsteadentt::has_single_bitis no longer available, usestd::has_single_bitinsteadentt::next_power_of_twois no longer available, usestd::bit_ceilinsteadentt::type_identityis no longer available, usestd::type_identityinsteadentt::to_addressis no longer available, usestd::to_addressinsteadtype_infono longer matches sfinae-based specialization, use concepts insteadentity:component_traitsno longer matches sfinae-based specialization, use concepts insteadmeta:base()returnsmeta_baseobjects instead ofmeta_typesis_meta_pointer_likeno longer matches sfinae-based specialization, use concepts insteadAny other business
The entire library is now more and more C++20-ish.
All previously deprecated functions and classes have been removed.
The clang-format configuration has been updated to match with the coding style.
The documentation is up-to-date and the library is battle-tested with 100% coverage as usual.
Beta Was this translation helpful? Give feedback.
All reactions