WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
func.h File Reference
#include "webcface/common/val_adaptor.h"
#include "func_result.h"
#include "arg.h"
#include "trait.h"
Include dependency graph for func.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FuncArgTypeCheck< bool >
 
struct  FuncArgTypeCheck< true >
 
struct  FuncArgTypesTrait< Args >
 
struct  FuncReturnTypeCheck< bool >
 
struct  FuncReturnTypeCheck< true >
 
struct  FuncReturnTypeTrait< Ret >
 
struct  FuncSignatureTrait< T >
 
struct  FuncSignatureTrait< Ret(Args...)>
 
struct  FuncSignatureTrait< Ret(T::*)(Args...)>
 
struct  FuncSignatureTrait< Ret(T::*)(Args...) const >
 
struct  FuncSignatureTrait< Ret(*)(Args...)>
 
class  Func
 関数1つを表すクラス More...
 
class  FuncListener
 

Namespaces

namespace  webcface
 
namespace  webcface::internal
 
namespace  webcface::traits
 

Typedefs

template<typename T >
using InvokeSignature = decltype(getInvokeSignature(std::declval< std::decay_t< T > >()))
 
template<typename T >
using FuncObjTrait = FuncSignatureTrait< InvokeSignature< T > >
 

Functions

template<typename T >
constexpr auto getInvokeSignature (T &&) -> decltype(&T::operator())
 
template<typename Ret , typename... Args>
constexpr auto getInvokeSignature (Ret(*p)(Args...))