Skip to content

Instantly share code, notes, and snippets.

@cdacamar
Created July 15, 2016 04:28
Show Gist options
  • Save cdacamar/2ef0285ae8aaa6a0b6be7185d87ffeb1 to your computer and use it in GitHub Desktop.
Save cdacamar/2ef0285ae8aaa6a0b6be7185d87ffeb1 to your computer and use it in GitHub Desktop.
// most common use case for std::thread, the function invoke ctor
template<typename Function, typename... Args>
explicit thread(Function&& f, Args&&... args);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment