Namespace entt

Description

No description yet.

Namespaces

literals

Classes

adl_meta_pointer_likeFake ADL based lookup function for meta pointer-like types.
as_cref_tEmpty class type used to request the as cref policy.
as_groupConverts a registry to a group.
as_is_tEmpty class type used to request the as-is policy.
as_ref_tEmpty class type used to request the as ref policy.
as_viewConverts a registry to a view.
as_void_tEmpty class type used to request the as void policy.
basic_anyA SBO friendly, type-safe container for single values of any type.
basic_collectorCollector.
basic_collector< matcher< type_list< Reject... >, type_list< Require... >, Rule... >, Other... >Collector.
basic_collector<>Collector.
basic_component_traitsCommonly used default traits for all types.
basic_continuous_loaderUtility class for continuous loading.
basic_groupGroup.
basic_group< Entity, owned_t< Owned... >, get_t< Get... >, exclude_t< Exclude... > >Owning group.
basic_group< Entity, owned_t<>, get_t< Get... >, exclude_t< Exclude... > >Non-owning group.
basic_handleNon-owning handle to an entity.
basic_hashed_stringZero overhead unique identifier.
basic_observerObserver.
basic_organizerUtility class for creating a static task graph.
basic_polyStatic polymorphism made simple and within everyone's reach.
basic_registryFast and reliable entity-component system.
basic_runtime_viewRuntime view.
basic_snapshotUtility class to create snapshots from a registry.
basic_snapshot_loaderUtility class to restore a snapshot as a whole.
basic_sparse_setBasic sparse set implementation.
basic_storageBasic storage implementation.
basic_storage< Entity, Type, Allocator, std::enable_if_t< ignore_as_empty_v< Type > > >Default constructor.
basic_viewView implementation.
basic_view< Entity, get_t< Component >, exclude_t<>, std::void_t< std::enable_if_t<!component_traits< std::remove_const_t< Component > >::in_place_delete > > >Single component view specialization.
basic_view< Entity, get_t< Component... >, exclude_t< Exclude... > >Multi component view.
choice_tUtility class to disambiguate overloaded functions.
choice_t< 0 >Utility class to disambiguate overloaded functions.
component_traitsCommon way to access various properties of components.
compressed_pairA compressed pair.
connect_arg_tUsed to wrap a function or a member of a specified type.
connectionConnection class.
constness_asTranscribes the constness of a type to another type.
constness_as< To, const From >Transcribes the constness of a type to another type.
delegateBasic delegate implementation.
delegate< Ret(Args...)>Utility class to use to send around functions and members.
dense_hash_mapAssociative container for key-value pairs with unique keys.
dense_hash_setAssociative container for unique objects of a given type.
dispatcherBasic dispatcher implementation.
emitterGeneral purpose event emitter.
entt_traitsEntity traits.
enum_as_bitmaskEnable bitmask support for enum classes.
enum_as_bitmask< Type, std::void_t< decltype(Type::_entt_enum_as_bitmask)> >Enable bitmask support for enum classes.
exclude_tAlias for exclusion lists.
familyDynamic identifier generator.
get_tAlias for lists of observed components.
identifierTypes identifiers.
identityIdentity function object (waiting for C++20).
input_iterator_pointerHelper type to use as pointer with input iterators.
insertion_sortFunction object for performing insertion sort.
is_applicableSame as std::is_invocable, but with tuples.
is_applicable< Func, const Tuple< Args... > >Same as std::is_invocable, but with tuples.
is_applicable< Func, Tuple< Args... > >Same as std::is_invocable, but with tuples.
is_applicable_rSame as std::is_invocable_r, but with tuples for arguments.
is_applicable_r< Ret, Func, std::tuple< Args... > >Same as std::is_invocable_r, but with tuples for arguments.
is_completeProvides the member constant value to true if a given type is complete, false otherwise.
is_complete< Type, std::void_t< decltype(sizeof(Type))> >Provides the member constant value to true if a given type is complete, false otherwise.
is_ebco_eligibleProvides the member constant value to true if a given type is both an empty and non-final class, false otherwise.
is_equality_comparableProvides the member constant value to true if a given type is equality comparable, false otherwise.
is_equality_comparable< Type, std::void_t< decltype(std::declval< Type >()==std::declval< Type >())> >Provides the member constant value to true if a given type is equality comparable, false otherwise.
is_iteratorProvides the member constant value to true if a given type is an iterator, false otherwise.
is_iterator< Type, std::enable_if_t<!std::is_same_v< std::remove_const_t< std::remove_pointer_t< Type > >, void > > >Provides the member constant value to true if a given type is an iterator, false otherwise.
is_iterator_typeProvides the member constant value to true if a given type is of the required iterator type, false otherwise.
is_iterator_type< Type, It, std::enable_if_t< is_iterator_v< Type > &&std::is_same_v< Type, It > > >Provides the member constant value to true if a given type is of the required iterator type, false otherwise.
is_iterator_type< Type, It, std::enable_if_t<!std::is_same_v< Type, It >, std::void_t< typename It::iterator_type > > >Provides the member constant value to true if a given type is of the required iterator type, false otherwise.
is_meta_pointer_likeProvides the member constant value to true if a given type is a pointer-like type from the point of view of the meta system, false otherwise.
is_meta_pointer_like< const Type >Partial specialization to ensure that const pointer-like types are also accepted.
is_meta_pointer_like< std::shared_ptr< Type > >Makes std::shared_ptrs of any type pointer-like types for the meta system.
is_meta_pointer_like< std::unique_ptr< Type, Args... > >Makes std::unique_ptrs of any type pointer-like types for the meta system.
is_meta_pointer_like< Type * >Makes plain pointers pointer-like types for the meta system.
is_meta_pointer_like< Type(*)[N]>Partial specialization used to reject pointers to arrays.
is_transparentProvides the member constant value to true if Type::is_transparent is valid and denotes a type, false otherwise.
is_transparent< Type, std::void_t< typename Type::is_transparent > >Provides the member constant value to true if Type::is_transparent is valid and denotes a type, false otherwise.
iterable_adaptorUtility class to create an iterable object from a pair of iterators.
matcherGrouping matcher.
member_classExtracts the class of a non-static member object or function.
meta_anyOpaque wrapper for values of any type.
meta_associative_containerProxy object for associative containers.
meta_associative_container_traitsTraits class template to be specialized to enable support for meta associative containers.
meta_associative_container_traits< dense_hash_map< Key, Type, Args... > >Meta associative container traits for dense_hash_maps of any type.
meta_associative_container_traits< dense_hash_set< Type, Args... > >Meta associative container traits for dense_hash_sets of any type.
meta_associative_container_traits< std::map< Key, Value, Args... > >Meta associative container traits for std::maps of any type.
meta_associative_container_traits< std::set< Key, Args... > >Meta associative container traits for std::sets of any type.
meta_associative_container_traits< std::unordered_map< Key, Value, Args... > >Meta associative container traits for std::unordered_maps of any type.
meta_associative_container_traits< std::unordered_set< Key, Args... > >Meta associative container traits for std::unordered_sets of any type.
meta_class_template_tagUtility class to disambiguate class templates.
meta_ctxOpaque container for a meta context.
meta_dataOpaque wrapper for data members.
meta_factoryMeta factory to be used for reflection purposes.
meta_factory< Type >Basic meta factory to be used for reflection purposes.
meta_factory< Type, Spec... >Extended meta factory to be used for reflection purposes.
meta_funcOpaque wrapper for member functions.
meta_function_descriptorPrimary template isn't defined on purpose.
meta_function_descriptor< Type, Ret Class::* >Meta function descriptor.
meta_function_descriptor< Type, Ret(*)()>Meta function descriptor.
meta_function_descriptor< Type, Ret(*)(MaybeType, Args...)>Meta function descriptor.
meta_function_descriptor< Type, Ret(Class::*)(Args...) const >Meta function descriptor.
meta_function_descriptor< Type, Ret(Class::*)(Args...)>Meta function descriptor.
meta_function_helperMeta function helper.
meta_handleOpaque pointers to instances of any type.
meta_propOpaque wrapper for properties of any type.
meta_rangeIterable range to use to iterate all types of meta objects.
meta_sequence_containerProxy object for sequence containers.
meta_sequence_container_traitsTraits class template to be specialized to enable support for meta sequence containers.
meta_sequence_container_traits< std::array< Type, N > >Meta sequence container traits for std::arrays of any type.
meta_sequence_container_traits< std::vector< Type, Args... > >Meta sequence container traits for std::vectors of any type.
meta_template_traitsTraits class template to be specialized to enable support for meta template information.
meta_template_traits< Clazz< Args... > >General purpose traits class for generating meta template information.
meta_typeOpaque wrapper for types.
monostateMinimal implementation of the monostate pattern.
null_tNull object for all identifiers.
overloadedHelper type for visitors.
owned_tAlias for lists of owned components.
poly_basePoly base class used to inject functionalities into concepts.
poly_inspectorInspector class used to infer the type of the virtual table.
poly_vtableStatic virtual table factory.
processBase class for processes.
process_adaptorAdaptor for lambdas and functors to turn them into processes.
radix_sortFunction object for performing LSD radix sort.
resource_cacheSimple cache for resources of a given type.
resource_handleShared resource handle.
resource_loaderBase class for resource loaders.
schedulerCooperative scheduler for processes.
scoped_connectionScoped connection class.
service_locatorService locator, nothing more.
sighUnmanaged signal handler.
sigh< Ret(Args...), Allocator >Unmanaged signal handler.
sigh_storage_mixinMixin type used to add signal support to storage types.
sinkSink class.
sink< sigh< Ret(Args...), Allocator > >Sink class.
size_ofA type-only sizeof wrapper that returns 0 where sizeof complains.
size_of< Type, std::void_t< decltype(sizeof(Type))> >A type-only sizeof wrapper that returns 0 where sizeof complains.
std_sortFunction object to wrap std::sort in a class type.
storage_traitsProvides a common way to access certain properties of storage types.
tombstone_tTombstone object for all identifiers.
type_hashType hash.
type_identityIdentity type trait.
type_indexType sequential identifier.
type_infoImplementation specific information about a type.
type_listA class to use to push around lists of types, nothing more.
type_list_catPrimary template isn't defined on purpose.
type_list_cat< type_list< Type... > >Concatenates multiple type lists.
type_list_cat< type_list< Type... >, type_list< Other... >, List... >Concatenates multiple type lists.
type_list_cat<>Concatenates multiple type lists.
type_list_containsProvides the member constant value to true if a type list contains a given type, false otherwise.
type_list_contains< type_list< Type... >, Other >Provides the member constant value to true if a type list contains a given type, false otherwise.
type_list_diffPrimary template isn't defined on purpose.
type_list_diff< type_list< Type... >, type_list< Other... > >Computes the difference between two type lists.
type_list_elementPrimary template isn't defined on purpose.
type_list_element< 0u, type_list< Type, Other... > >Provides compile-time indexed access to the types of a type list.
type_list_element< Index, type_list< Type, Other... > >Provides compile-time indexed access to the types of a type list.
type_list_uniquePrimary template isn't defined on purpose.
type_list_unique< type_list< Type, Other... > >Removes duplicates types from a type list.
type_list_unique< type_list<> >Removes duplicates types from a type list.
type_nameType name.
value_listA class to use to push around lists of constant values, nothing more.
value_list_catPrimary template isn't defined on purpose.
value_list_cat< value_list< Value... > >Concatenates multiple value lists.
value_list_cat< value_list< Value... >, value_list< Other... >, List... >Concatenates multiple value lists.
value_list_cat<>Concatenates multiple value lists.
value_list_elementPrimary template isn't defined on purpose.
value_list_element< 0u, value_list< Value, Other... > >Provides compile-time indexed access to the types of a type list.
value_list_element< Index, value_list< Value, Other... > >Provides compile-time indexed access to the values of a value list.
y_combinatorBasic implementation of a y-combinator.

Functions

any_cast overloadPerforms type-safe access to the contained object.
dereference_meta_pointer_likeADL based lookup function for dereferencing meta pointer-like types.
fast_modFast module utility function (powers of two only).
forward_as_anyForwards its argument and avoids copies for lvalue references.
forward_as_metaForwards its argument and avoids copies for lvalue references.
invokeHelper to create a listener that directly invokes a member function.
is_power_of_twoChecks whether a value is a power of two or not.
make_anyConstructs a wrapper from a given type, passing it all arguments.
make_metaConstructs a wrapper from a given type, passing it all arguments.
metaUtility function to use for reflection.
meta_argReturns the meta type of the i-th element of a list of arguments.
meta_construct overloadTries to construct an instance given a list of erased parameters.
meta_dispatchWraps a value depending on the given policy.
meta_getterGets the value of a given variable.
meta_invoke overloadTries to invoke an object given a list of erased parameters.
meta_invoke overloadTries to invoke a function given a list of erased parameters.
meta_reset overloadResets a type and all its parts.
meta_setterSets the value of a given variable.
next_power_of_twoComputes the smallest power of two greater than or equal to a value.
operator!= overloadChecks if two wrappers differ in their content.
operator!= overloadCompares two hashed strings.
operator!= overloadCompares the contents of two type info objects.
operator!= overloadCompares a null object and an identifier of any type.
operator!= overloadCompares a tombstone object and an identifier of any type.
operator!= overloadCompares two handles.
operator!= overloadChecks if two objects refer to the same type.
operator!= overloadCompares the contents of two delegates.
operator""_hsUser defined literal for hashed strings.
operator""_hwsUser defined literal for hashed wstrings.
operator+ overloadConcatenates multiple type lists.
operator+ overloadConcatenates multiple value lists.
operator< overloadCompares two hashed strings.
operator< overloadCompares two type info objects.
operator<= overloadCompares two hashed strings.
operator<= overloadCompares two type info objects.
operator== overloadCompares two hashed strings.
operator== overloadCompares the contents of two type info objects.
operator== overloadCompares a null object and an identifier of any type.
operator== overloadCompares a tombstone object and an identifier of any type.
operator== overloadCompares two handles.
operator> overloadCompares two hashed strings.
operator> overloadCompares two type info objects.
operator>= overloadCompares two hashed strings.
operator>= overloadCompares two type info objects.
overload overloadConstant utility to disambiguate overloaded members of a class.
overload overloadConstant utility to disambiguate overloaded functions.
poly_callShortcut for calling poly_base<Type>invoke.
propagate_on_container_copy_assignmentUtility function to design allocation-aware containers.
propagate_on_container_move_assignmentUtility function to design allocation-aware containers.
propagate_on_container_swapUtility function to design allocation-aware containers.
resolve overloadReturns the meta type associated with a given type.
resolve overloadReturns the meta type associated with a given identifier, if any.
resolve overloadReturns the meta type associated with a given type info object.
swapSwaps two compressed pair objects.
to_addressUnwraps fancy pointers, does nothing otherwise (waiting for C++20).
to_entity overloadReturns the entity part once converted to the underlying type.
to_entity overloadReturns the entity associated with a given component.
to_integralConverts an entity to its underlying type.
to_versionReturns the version part once converted to the underlying type.
type_idReturns the type info object associated to a given type.
unwrap_tupleUtility function to unwrap tuples of a single element.

Enums

entityDefault entity identifier.
deletion_policySparse set deletion policy.

Typedefs

Typedefs (fwd.hpp)

using id_type = std::uint32_t

Alias declaration for type identifiers.

Mentioned in:

Configuration / ENTT_ID_TYPE

Core Functionalities / Built-in RTTI support

Core Functionalities / Tag

Entity Component System / Runtime views

Resource Management / The resource, the loader and the cache

using any = basic_any<>

Alias declaration for the most common use case.

Mentioned in:

Core Functionalities / Any as in any type

Entity Component System / A base class to rule them all

Poly / Introduction

Poly / Storage size and alignment requirement

Runtime Reflection System / Any to the rescue

Typedefs (hashed_string.hpp)

using hashed_string = basic_hashed_string< char >

Aliases for common character types.

Mentioned in:

Core Functionalities / Hashed strings

Core Functionalities / Wide characters

Core Functionalities / Monostate

Resource Management / The resource, the loader and the cache

Runtime Reflection System / Names and identifiers

Frequently Asked Questions / Warning C4307: integral constant overflow

using hashed_wstring = basic_hashed_string< wchar_t >

Aliases for common character types.

Mentioned in:

Core Functionalities / Wide characters

Typedefs (type_traits.hpp)

template <typename Type>
using type_identity_t = typename type_identity< Type >::type

Helper type.

Template Parameters

Type - A type.

template <typename Type, typename>
using unpack_as_type = Type

Using declaration to be used to repeat the same type a number of times equal to the size of a given parameter pack.

Template Parameters

Type - A type to repeat.

template <auto Value>
using integral_constant = std::integral_constant< decltype(Value), Value >

Wraps a static constant.

Template Parameters

Value - A static constant.

Mentioned in:

Core Functionalities / Integral constant

template <id_type Value>
using tag = integral_constant< Value >

Alias template to facilitate the creation of named values.

Template Parameters

Value - A constant value at least convertible to id_type.

Mentioned in:

Core Functionalities / Tag

template <std::size_t Index, typename List>
using type_list_element_t = typename type_list_element< Index, List >::type

Helper type.

Template Parameters

Index - Index of the type to return.

List - Type list to search into.

template <typename... List>
using type_list_cat_t = typename type_list_cat< List... >::type

Helper type.

Template Parameters

List - Type lists to concatenate.

Mentioned in:

Poly / Inheritance

template <typename Type>
using type_list_unique_t = typename type_list_unique< Type >::type

Helper type.

Template Parameters

Type - A type list.

template <typename... List>
using type_list_diff_t = typename type_list_diff< List... >::type

Helper type.

Template Parameters

List - Type lists between which to compute the difference.

template <typename... List>
using value_list_cat_t = typename value_list_cat< List... >::type

Helper type.

Template Parameters

List - Value lists to concatenate.

Mentioned in:

Poly / Inheritance

template <typename To, typename From>
using constness_as_t = typename constness_as< To, From >::type

Alias template to facilitate the transcription of the constness.

Template Parameters

To - The type to which to transcribe the constness.

From - The type from which to transcribe the constness.

Mentioned in:

Core Functionalities / Constness as

template <typename Member>
using member_class_t = typename member_class< Member >::type

Helper type.

Template Parameters

Member - A pointer to a non-static member object or function.

Mentioned in:

Core Functionalities / Member class type

Typedefs (fwd.hpp)

using sparse_set = basic_sparse_set< entity >

Alias declaration for the most common use case.

template <typename... Args>
using storage = basic_storage< entity, Args... >

Alias declaration for the most common use case.

Template Parameters

Args - Other template parameters.

using registry = basic_registry< entity >

Alias declaration for the most common use case.

Mentioned in:

Getting Started / Code Example

Entity Component System / Type-less and bitset-free

Entity Component System / The Registry, the Entity and the Component

Entity Component System / Observe changes

Entity Component System / Organizer

EnTT and Unreal Engine / Include EnTT

using observer = basic_observer< entity >

Alias declaration for the most common use case.

Mentioned in:

Entity Component System / They call me Reactive System

using organizer = basic_organizer< entity >

Alias declaration for the most common use case.

Mentioned in:

Entity Component System / Organizer

using handle = basic_handle< entity >

Alias declaration for the most common use case.

Mentioned in:

Entity Component System / Handle

using const_handle = basic_handle< const entity >

Alias declaration for the most common use case.

Mentioned in:

Entity Component System / Handle

template <typename... Args>
using handle_view = basic_handle< entity, Args... >

Alias declaration for the most common use case.

Template Parameters

Args - Other template parameters.

template <typename... Args>
using const_handle_view = basic_handle< const entity, Args... >

Alias declaration for the most common use case.

Template Parameters

Args - Other template parameters.

using snapshot = basic_snapshot< entity >

Alias declaration for the most common use case.

Mentioned in:

Entity Component System / Snapshot: complete vs continuous

using snapshot_loader = basic_snapshot_loader< entity >

Alias declaration for the most common use case.

Mentioned in:

Entity Component System / Snapshot loader

using continuous_loader = basic_continuous_loader< entity >

Alias declaration for the most common use case.

Mentioned in:

Entity Component System / Continuous loader

template <typename Get, typename Exclude = exclude_t<>>
using view = basic_view< entity, Get, Exclude >

Alias declaration for the most common use case.

Template Parameters

Get - Types of components iterated by the view.

Exclude - Types of components used to filter the view.

Mentioned in:

Entity Component System / Organizer

Entity Component System / Types: const, non-const and all in between

using runtime_view = basic_runtime_view< entity >

Alias declaration for the most common use case.

template <typename... Args>
using group = basic_group< entity, Args... >

Alias declaration for the most common use case.

Template Parameters

Args - Other template parameters.

Typedefs (utility.hpp)

template <typename Type, typename Candidate>
using meta_function_helper_t = typename meta_function_helper< Type, Candidate >::type

Helper type.

Template Parameters

Type - Reflected type to which the meta function is associated.

Candidate - The actual function to associate with the reflected type.

Typedefs (fwd.hpp)

template <typename Concept>
using poly = basic_poly< Concept, sizeof(double[2])>

Alias declaration for the most common use case.

Template Parameters

Concept - Concept descriptor.

Mentioned in:

Poly / Crash Course: poly

Poly / Introduction

Poly / Inheritance

Poly / Static polymorphism in the wild

Poly / Storage size and alignment requirement

Variables

Variables (enum.hpp)

template <typename Type>
constexpr bool enum_as_bitmask_v = enum_as_bitmask<Type>::value

Helper variable template.

Template Parameters

Type - The enum class type for which to enable bitmask support.

Variables (monostate.hpp)

template <id_type Value>
monostate< Value > monostate_v = {}

Helper variable template.

Template Parameters

Value - Value used to differentiate between different variables.

Variables (type_traits.hpp)

template <std::size_t N>
constexpr choice_t< N > choice {}

Variable template for the choice trick.

Template Parameters

N - Number of choices available.

template <typename Type>
constexpr std::size_t size_of_v = size_of<Type>::value

Helper variable template.

Template Parameters

Type - The type of which to return the size.

Mentioned in:

Core Functionalities / Size of

template <auto Value, typename>
constexpr auto unpack_as_value = Value

Helper variable template to be used to repeat the same value a number of times equal to the size of a given parameter pack.

Template Parameters

Value - A value to repeat.

template <typename List, typename Type>
constexpr bool type_list_contains_v = type_list_contains<List, Type>::value

Helper variable template.

Template Parameters

List - Type list.

Type - Type to look for.

template <std::size_t Index, typename List>
constexpr auto value_list_element_v = value_list_element<Index, List>::value

Helper type.

Template Parameters

Index - Index of the value to return.

List - Value list to search into.

template <typename Func, typename Args>
constexpr bool is_applicable_v = is_applicable<Func, Args>::value

Helper variable template.

Template Parameters

Func - A valid function type.

Args - The list of arguments to use to probe the function type.

template <typename Ret, typename Func, typename Args>
constexpr bool is_applicable_r_v = is_applicable_r<Ret, Func, Args>::value

Helper variable template.

Template Parameters

Ret - The type to which the return type of the function should be convertible.

Func - A valid function type.

Args - The list of arguments to use to probe the function type.

template <typename Type>
constexpr bool is_complete_v = is_complete<Type>::value

Helper variable template.

Template Parameters

Type - The type to test.

template <typename Type>
constexpr bool is_iterator_v = is_iterator<Type>::value

Helper variable template.

Template Parameters

Type - The type to test.

template <typename Type, typename It>
constexpr bool is_iterator_type_v = is_iterator_type<Type, It>::value

Helper variable template.

Template Parameters

Type - The type to test.

It - Required iterator type.

template <typename Type>
constexpr bool is_ebco_eligible_v = is_ebco_eligible<Type>::value

Helper variable template.

Template Parameters

Type - The type to test.

template <typename Type>
constexpr bool is_transparent_v = is_transparent<Type>::value

Helper variable template.

Template Parameters

Type - The type to test.

template <typename Type>
constexpr bool is_equality_comparable_v = is_equality_comparable<Type>::value

Helper variable template.

Template Parameters

Type - The type to test.

Variables (component.hpp)

template <class Type>
constexpr bool ignore_as_empty_v = component_traits<Type>::ignore_if_empty &&std::is_empty_v<Type>

Helper variable template.

Template Parameters

Type - Type of component.

Variables (entity.hpp)

constexpr null_t null {}

Compile-time constant for null entities.

There exist implicit conversions from this variable to identifiers of any allowed type. Similarly, there exist comparision operators between the null entity and any other identifier.

Mentioned in:

Entity Component System / Null entity

Entity Component System / Hierarchies and the like

constexpr tombstone_t tombstone {}

Compile-time constant for tombstone entities.

There exist implicit conversions from this variable to identifiers of any allowed type. Similarly, there exist comparision operators between the tombstone entity and any other identifier.

Mentioned in:

Entity Component System / Tombstone

Variables (observer.hpp)

constexpr basic_collector collector {}

Variable template used to ease the definition of collectors.

Variables (utility.hpp)

template <typename... Type>
constexpr exclude_t< Type... > exclude {}

Variable template for exclusion lists.

Template Parameters

Type - List of types.

Mentioned in:

Entity Component System / They call me Reactive System

Entity Component System / Views

Entity Component System / Full-owning groups

Entity Component System / Partial-owning groups

Entity Component System / Non-owning groups

Entity Component System / Nested groups

template <typename... Type>
constexpr get_t< Type... > get {}

Variable template for lists of observed components.

Template Parameters

Type - List of types.

Mentioned in:

Entity Component System / Groups

Entity Component System / Partial-owning groups

Entity Component System / Non-owning groups

Entity Component System / Nested groups

template <typename... Type>
constexpr owned_t< Type... > owned {}

Variable template for lists of owned components.

Template Parameters

Type - List of types.

Variables (type_traits.hpp)

template <typename Type>
constexpr auto is_meta_pointer_like_v = is_meta_pointer_like<Type>::value

Helper variable template.

Template Parameters

Type - Potentially pointer-like type.

Variables (delegate.hpp)

template <auto Func>
constexpr connect_arg_t< Func > connect_arg {}

Constant of type connect_arg_t used to disambiguate calls.

Mentioned in:

Events, Signals And Everything In Between / Delegate

Source

Line 21 in src/entt/container/dense_hash_map.hpp.






Add Discussion

Log in to comment