I have built a templated functor object which I can use to manage lambdas which need to recurse and survive across scopes. It\'s not very pretty (it uses void pointers and an