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

True when an event type declares a nested Factory type. More...

#include <headers/guillaume/components/interaction.hpp>

Concept definition

template<typename EventType>
concept guillaume::components::HasFactoryType = requires { typename EventType::Factory; }
True when an event type declares a nested Factory type.

Detailed Description

True when an event type declares a nested Factory type.

Interaction uses it as the default value of its second template parameter, to pick the specialization that matches the event type.

Template Parameters
EventTypeThe event type to inspect.

Definition at line 41 of file interaction.hpp.