BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Static Public Member Functions | List of all members
fc::identity_member_with_optionals Struct Reference

#include <api.hpp>

Static Public Member Functions

template<typename R , typename C , typename P , typename... Args>
static detail::optionals_callable< R, Args... > functor (P &&p, R(C::*mem_func)(Args...))
 
template<typename R , typename C , typename P , typename... Args>
static detail::optionals_callable< R, Args... > functor (P &&p, R(C::*mem_func)(Args...) const)
 

Detailed Description

Used as the Transform template parameter for APIs, this type has two main purposes: first, it reads the argument list and return type of a method into template parameters; and second, it uses those types in conjunction with the optionals_callable template above to create a function pointer which supports optional arguments.

Definition at line 94 of file api.hpp.

Member Function Documentation

◆ functor() [1/2]

template<typename R , typename C , typename P , typename... Args>
static detail::optionals_callable<R, Args...> fc::identity_member_with_optionals::functor ( P &&  p,
R(C::*)(Args...) const  mem_func 
)
static

◆ functor() [2/2]

template<typename R , typename C , typename P , typename... Args>
static detail::optionals_callable<R, Args...> fc::identity_member_with_optionals::functor ( P &&  p,
R(C::*)(Args...)  mem_func 
)
static

The documentation for this struct was generated from the following file: