Skip to content

Instantly share code, notes, and snippets.

@EricWF
Last active November 7, 2019 16:39
Show Gist options
  • Save EricWF/69e7d15afc7b02075433cb8db043ab05 to your computer and use it in GitHub Desktop.
Save EricWF/69e7d15afc7b02075433cb8db043ab05 to your computer and use it in GitHub Desktop.
#ifdef SYS_HEADER
#pragma GCC system_header
#endif
template <class Ret, class Fn, class ...Args>
constexpr Ret foo(Fn fn, Args... args) { return fn(args...); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment