MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / callCallback

Method callCallback

tests/common/simplethread.h:27–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 ArgWrapper(T&& a1, U&& a2, V&& a3) : arg1(std::forward<T>(a1)), arg2(std::forward<U>(a2)), arg3(std::forward<V>(a3)) { }
26 template<typename TCallback>
27 void callCallback(TCallback&& callback) const { std::forward<TCallback>(callback)(std::move(arg1), std::move(arg2), std::move(arg3)); }
28 };
29
30 template<typename TArg1, typename TArg2>

Callers 1

callAndDeleteMethod · 0.45

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected