Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Last active April 19, 2017 08:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deque-blog/a791af3cc7ce0046684d10c826fed5f8 to your computer and use it in GitHub Desktop.
Save deque-blog/a791af3cc7ce0046684d10c826fed5f8 to your computer and use it in GitHub Desktop.
template<typename... Generators>
auto make_tuple_gen(Generators... generators)
{
return [=](std::mt19937& gen)
{
return std::make_tuple(generators(gen)...);
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment