Event

template<class event_type, class = typename std::enable_if<is_event_supported<event_type>()>::type>
event create_event(event_type &native_event)

Creates a new event from @native_event_type.

Return

event object

Parameters
  • native_event: the existing event