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

Function delay_invoke

tests/p0780_2Test.cpp:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected