MCPcopy Create free account
hub / github.com/ThePhD/sol2 / invoke

Method invoke

include/sol/wrapper.hpp:155–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153
154 template <F fx, typename... Args>
155 static R invoke(O& mem, Args&&... args) {
156 return (mem.*fx)(std::forward<Args>(args)...);
157 }
158
159 template <typename Fx, typename... Args>
160 static R call(Fx&& fx, O& mem, Args&&... args) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected