Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
Loading...
Searching...
No Matches
CallableTraits.hpp File Reference

Compile-time introspection traits for callable objects and event handlers. More...

#include <type_traits>
+ Include dependency graph for CallableTraits.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  corium::internal::callable_event_type< R(*)(const EventType &)>
 
struct  corium::internal::callable_event_type< R(*)(EventType)>
 
struct  corium::internal::callable_event_type< R(C::*)(const EventType &) const >
 
struct  corium::internal::callable_event_type< R(C::*)(const EventType &)>
 
struct  corium::internal::callable_event_type< R(C::*)(EventType) const >
 
struct  corium::internal::callable_event_type< R(C::*)(EventType)>
 
struct  corium::internal::get_callable_event_type< Callable, std::void_t< decltype(&std::decay_t< Callable >::operator())> >
 
struct  corium::internal::get_callable_event_type< R(*)(const EventType &)>
 
struct  corium::internal::get_callable_event_type< R(*)(EventType)>
 

Namespaces

namespace  corium
 
namespace  corium::internal
 

Typedefs

template<typename Callable >
using corium::internal::callable_event_type_t = typename get_callable_event_type< Callable >::type
 Helper trait to deduce the concrete EventType argument from a callable (lambda, function pointer, or functor).
 

Detailed Description

Compile-time introspection traits for callable objects and event handlers.