Goby3  3.1.5
2024.05.14
type_helpers.h File Reference

Go to the source code of this file.

Namespaces

 goby
 The global namespace for the Goby project.
 
 goby::middleware
 Objects implementing the Goby nested middleware.
 
 goby::middleware::detail
 

Typedefs

template<typename T >
using goby::middleware::detail::first_argument = decltype(first_argument_helper(std::declval< T >()))
 

Functions

template<typename Ret , typename Arg , typename... Rest>
Arg goby::middleware::detail::first_argument_helper (Ret(*)(Arg, Rest...))
 
template<typename Ret , typename F , typename Arg , typename... Rest>
Arg goby::middleware::detail::first_argument_helper (Ret(F::*)(Arg, Rest...))
 

Variables

template<typename F >
decltype(first_argument_helper(&F::operator())) goby::middleware::detail::first_argument_helper (F)