GREM
3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
include
GREM
execution
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
7
#include <
GREM/build_config.hpp
>
8
9
#include <type_traits>
// std::is_..._v
10
11
namespace
grem::execution
{
12
20
template
<
typename
T>
21
concept
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
build_config.hpp
grem::execution::component
Concept that checks if a given type is a valid component type that can be stored and associated with ...
Definition
component.hpp:21
grem::execution
Definition
Chunk.hpp:19
Generated by
1.15.0