|
|
|
|
|
by WesternStar
2308 days ago
|
|
It is notable that this code forces a conversion to std::function which IIRC can actually require more space than the lambda it's attempting to store. For lambdas just use auto they don't have a type don't worry about their type. |
|