pars 0.2.1
Loading...
Searching...
No Matches
make_hf.h File Reference
#include "pars/concept/event.h"
#include "pars/concept/kind.h"
#include <functional>
#include <ratio>
Include dependency graph for make_hf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pars::ev::hf_traits< return_t(class_t::*)(hf_arg< kind_of, event_t >)>
 

Namespaces

namespace  pars
 
namespace  pars::ev
 

Typedefs

template<template< typename > typename kind_of, event_c event_t>
using pars::ev::hf_arg = kind_of<event_t>
 
template<template< typename > typename kind_of, event_c event_t>
using pars::ev::handler_f = std::move_only_function<void(hf_arg<kind_of, event_t>)>
 

Functions

template<typename mem_fn_t, template< typename > typename kind_of = hf_traits<mem_fn_t>::template kind_type, typename event_t = hf_traits<mem_fn_t>::event_type, typename class_t = hf_traits<mem_fn_t>::class_type>
requires kind_c<kind_of> && event_c<event_t>
handler_f< kind_of, event_t > pars::ev::make_hf (mem_fn_t &mem_fn, class_t *self)