WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
|
#include <webcface/func.h>
Public Types | |
using | ReturnTypeTrait = FuncReturnTypeTrait< Ret > |
using | ArgTypesTrait = FuncArgTypesTrait< Args... > |
using | ReturnType = Ret |
using | ArgsTuple = std::tuple< std::decay_t< Args >... > |
Static Public Member Functions | |
static bool | assertArgsNum (const CallHandle &handle) |
static std::vector< Arg > | argsInfo () |
Static Public Attributes | |
static constexpr bool | return_void = std::is_same_v<Ret, void> |
RetとArgsが条件を満たすときだけ、 ReturnTypeTrait::ReturnTypeSupportedByWebCFaceFunc と ArgTypesTrait::ArgTypesSupportedByWebCFaceFunc が定義される (enable_ifを使ってないのはエラーメッセージがわかりにくかったから)
using ArgsTuple = std::tuple<std::decay_t<Args>...> |
using ArgTypesTrait = FuncArgTypesTrait<Args...> |
using ReturnType = Ret |
using ReturnTypeTrait = FuncReturnTypeTrait<Ret> |
|
inlinestatic |
|
inlinestatic |
|
staticconstexpr |