
29 Apr
2010
29 Apr
'10
2:47 p.m.
The issue is with calling template functions with default parameters from lambdas (where the type of the default parameter has a user defined destructor). User workaround: Explicitly pass the a value of the argument equivilent to the default instead of using the default argument. Library maintainer workaround: A function with default arguments can be trivially converted to overloaded functions without default parameters.