Skip to content

Conversation

@nat-goodspeed
Copy link

This pull request streamlines {posix,windows}/execute.hpp by making Boost.Preprocessor do the multiple levels of repetition, generating BOOST_PROCESS_EXECUTE_INITIALIZERS overloads of the execute() function with appropriate numbers of template parameters, formal parameters and fusion::make_tuple() parameters.

This makes the header shorter, allowing the maintainer to focus on a single instance of the execute() function. It guarantees consistency among all the generated overloads, eliminating the possibility of a typo. And it permits the library user to extend the number of initializer arguments if desired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant