MCPcopy Create free account
hub / github.com/daniele77/cli / Exec

Method Exec

include/cli/cli.h:726–735  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

724 {
725 template <typename F, typename InputIt>
726 static void Exec(const F& f, InputIt first, InputIt last)
727 {
728 // silence the unused warning in release mode when assert is disabled
729 static_cast<void>(first);
730 static_cast<void>(last);
731
732 assert(first == last);
733
734 f();
735 }
736 };
737
738 template <typename ... Args>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected