Event

template<typename T, typename = typename std::enable_if<!std::is_const<T>::value>::type>
struct Event

Event.

Public Functions

template<typename Result, typename Handler, typename ...Args>
inline Result dispatch(Handler &&handler, Args&&... args) const

Dispatch to handler.

inline operator MessageInfo const&() const

Access MessageInfo.

inline operator value_type const&() const

Access Message.

inline operator std::pair<MessageInfo const&, value_type const&>() const

Structured binding.

Public Members

MessageInfo const &message_info

MessageInfo.

value_type const &value

Message.