Maki
Loading...
Searching...
No Matches
maki::event_set< Impl > Class Template Reference

Represents an event type set. More...

Public Member Functions

template<class Event>
constexpr event_set (event_t< Event >)
 Constructs a set that only contains Event.
 
template<class Event>
constexpr bool contains (event_t< Event >={}) const
 Checks whether the set contains Event.
 

Related Symbols

(Note that these are not member symbols.)

template<class Event>
 event_set (event_t< Event >) -> event_set< IMPLEMENTATION_DETAIL >
 Class template argument deduction guide for maki::event_set.
 
constexpr auto all_events = IMPLEMENTATION_DETAIL
 An infinite maki::event_set that contains all the event types.
 
constexpr auto no_event = IMPLEMENTATION_DETAIL
 An empty maki::event_set.
 
template<class Predicate>
constexpr auto operator! (const event_set< Predicate > &evt_set)
 Creates a maki::event_set that contains all the event types that are not contained in evt_set.
 
template<class Event>
constexpr auto operator! (event_t< Event >)
 Creates a maki::event_set that contains all the event types but Event.
 
template<class LhsImpl, class RhsImpl>
constexpr auto operator&& (const event_set< LhsImpl > &lhs, const event_set< RhsImpl > &rhs)
 Creates a maki::event_set that is the result of the intersection of lhs and rhs.
 
template<class EventSetPredicate, class Event>
constexpr auto operator|| (const event_set< EventSetPredicate > &evt_set, event_t< Event >)
 Creates a maki::event_set that contains the content of evt_set, plus Event.
 
template<class LhsImpl, class RhsImpl>
constexpr auto operator|| (const event_set< LhsImpl > &lhs, const event_set< RhsImpl > &rhs)
 Creates a maki::event_set that is the result of the union of lhs and rhs.
 
template<class Event, class EventSetPredicate>
constexpr auto operator|| (const event_t< Event > evt, const event_set< EventSetPredicate > &evt_set)
 Creates a maki::event_set that contains the content of evt_set, plus Event.
 
template<class LhsEvent, class RhsEvent>
constexpr auto operator|| (event_t< LhsEvent >, event_t< RhsEvent >)
 Creates a maki::event_set that contains LhsEvent and RhsEvent.
 

Detailed Description

template<class Impl>
class maki::event_set< Impl >

Represents an event type set.

Template Parameters
Implimplementation detail