MCPcopy Create free account
hub / github.com/bloomberg/quantum / Callable

Class Callable

quantum/impl/quantum_stl_impl.h:117–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115{};
116
117struct Callable
118{
119 template <typename FUNC>
120 static auto ref(FUNC&&) -> typename std::remove_reference<FUNC>::type;
121
122 template <typename RET, typename...ARGS>
123 static auto ref(RET(*func)(ARGS...)) -> decltype(func);
124};
125
126template <typename RET, typename FUNC, typename... ARGS, size_t...I, typename...T>
127RET apply_impl(FUNC&& func, std::tuple<ARGS...>&& tuple, std::index_sequence<I...>, T&&...t)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected