On 06/11/2011 10:45 PM, Jonathan M Davis wrote:
Yes, though there is a distinct difference between having to create a functor elswhere to just to call an STL function and creating an extra enum next to your function definition for one of its parameters. The parameter issue is far smaller IMHO.
Absolutely. The proposed solution is also much smaller than e.g. lambda libraries and ultimately the language feature.
Andrei