GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
component.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Ivar Härnqvist
2// SPDX-License-Identifier: MIT
3
4#ifndef GREM_EXECUTION_COMPONENT_HPP
5#define GREM_EXECUTION_COMPONENT_HPP
6
8
9#include <type_traits> // std::is_..._v
10
11namespace grem::execution {
12
20template <typename T>
21concept component = !std::is_const_v<T> && !std::is_reference_v<T> && !std::is_array_v<T> && std::is_nothrow_move_assignable_v<T>;
22
23} // namespace grem::execution
24
25#endif
Concept that checks if a given type is a valid component type that can be stored and associated with ...
Definition component.hpp:21
Definition Chunk.hpp:19