3 ms·
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 lambd
by WesternStar 7y 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.