3 ms·
That is not really the same. `std::function` is a heavy-weight type-erased wrapper over callable types.
by steerablesafe 5y ago
That is not really the same. `std::function` is a heavy-weight type-erased wrapper over callable types.
- nickysielicki 5y agoUnfortunately it’s the only way to get a recursive lambda, as far as I’m aware.
- gpderetta 5y agoYou can use a fix point combinator.