![]() |
Bitcoin Core 29.99.0
P2P Digital Currency
|
Specialization of above for proxy methods that have a ProxyMethod<InterfaceName::MethodNameParams>::impl pointer-to-method constant defined by generated code. More...
#include <proxy.h>
Static Public Member Functions | |
template<typename ServerContext , typename... Args> | |
static decltype(auto) | invoke (ServerContext &server_context, Args &&... args) |
Specialization of above for proxy methods that have a ProxyMethod<InterfaceName::MethodNameParams>::impl pointer-to-method constant defined by generated code.
This includes all functions defined in the capnp interface except any construct() or destroy() methods, that are assumed not to correspond to real member functions in the C++ class, and will use the fallback traits definition above. The generated code this specialization relies on looks like:
struct ProxyMethod<InterfaceName::MethodNameParams> { static constexpr auto impl = &ClassName::methodName; };
|
inlinestatic |