On 10/20/2016 2:53 PM, Andrei Alexandrescu wrote:
The combinatorial explosion was one core motivation for C++ rvalue references. I think the authors of the would-be DIP would do good to be conversant with that proposal. -- Andrei
"However, as the number of free parameters grows (as in bind and function), this solution quickly grows impractical. The number of overloads required increases exponentially with the number of parameters (2N where N is the number of parameters)."
Proposal: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1690.html Spec changes: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2118.html
