GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::execution::resource Concept Reference

Concept that checks if a given type is a valid resource type that can be stored/referenced in e.g. a ResourceRegistry or ResourceTable. More...

#include <GREM/execution/resource.hpp>

Concept definition

template<typename T>
concept grem::execution::resource = !std::is_const_v<T> && !std::is_reference_v<T> && !std::is_array_v<T> && !std::is_pointer_v<T> && !is_entity_range_v<T> && !is_component_pool_v<T>
Concept that checks if a given type is a valid resource type that can be stored/referenced in e....
Definition resource.hpp:23
constexpr bool is_entity_range_v
Boolean that evaluates to true if the given type is considered an entity range type.
Definition entity_range.hpp:81
constexpr bool is_component_pool_v
Boolean that evaluates to true if the given type is considered a component pool reference type.
Definition component_pool.hpp:31

Detailed Description

Concept that checks if a given type is a valid resource type that can be stored/referenced in e.g. a ResourceRegistry or ResourceTable.

Template Parameters
Tthe type to check.