C++: variadic templates with lambda expressions for constrained optimization
adl1995.github.io