4 ms·
How do you mean they show them correctly? Perhaps you are right but I often see them attributed to std::function::operator() in the header <functional>, becaus
by honkhonkpants 10y ago
How do you mean they show them correctly? Perhaps you are right but I often see them attributed to std::function::operator() in the header <functional>, because someone has assigned the lambda to a class member field or function argument of type std::function. When the function has more than one caller it can be a nuisance trying to figure out which caller's lambda is the one being called. The only way I know of to identify them is to examine the full template expansion which is often a kilobyte of metaprogram gibberish.
- robotresearcher 10y agoCan you not see the call stack for your lambda, as for any function?