MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / delay_invoke

Function delay_invoke

tests/p0780Test.cpp:11–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10template<class F, class... Args>
11auto delay_invoke(F f, Args... args)
12{
13 return [f = std::move(f), ... args = std::move(args)]() -> decltype(auto) { return std::invoke(f, args...); };
14}
15
16int main()
17{

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected