MCPcopy Create free account
hub / github.com/cameron314/readerwriterqueue / ArgWrapper

Method ArgWrapper

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

Source from the content-addressed store, hash-verified

19 typename std::remove_reference<TArg3>::type arg3;
20 template<typename T, typename U, typename V>
21 ArgWrapper(T&& a1, U&& a2, V&& a3) : arg1(std::forward<T>(a1)), arg2(std::forward<U>(a2)), arg3(std::forward<V>(a3)) { }
22 template<typename TCallback>
23 void callCallback(TCallback&& callback) const { std::forward<TCallback>(callback)(std::move(arg1), std::move(arg2), std::move(arg3)); }
24 };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected