This will make the code cleaner and it will make it easier to reason about the constness of the functor.
I was wondering if I can help with this. I have been looking at Heap/GC code for a couple of weeks and some if I can help with some refactoring, it would have give me the opportunity to possibly understand the code in-depth. Is there any other place where we are using C++ lambdas instead of Functors - so I can ge the feeling on how to style the code?