Event#

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

Creates a new event from @native_event_type.

Parameters

native_event – the existing event

Returns

event object