guillaume 2026.6.1
A C++ UI framework designed for modern desktop and extended reality (XR) applications.
Loading...
Searching...
No Matches
guillaume::ecs::InheritFromComponent Concept Reference

Constrains a template parameter to a type derived from Component (or Component itself). More...

#include <headers/guillaume/ecs/component.hpp>

Concept definition

template<typename Type>
concept guillaume::ecs::InheritFromComponent = std::is_base_of_v<Component, Type>
Constrains a template parameter to a type derived from Component (or Component itself).

Detailed Description

Constrains a template parameter to a type derived from Component (or Component itself).

Template Parameters
TypeThe type to check.

Definition at line 116 of file component.hpp.