Hi all. The issue with the recursive lambda declarations for parse_datum and nested_comment has been resolved. The solution was surprisingly simple: just declare a nested lambda called recurse and have it refer to a lambda that has a [&] capture list. The internals of the outer lambda are simply nested inside of this inner lambda, and then we simply return the call to recurse(in) to the top level. All unit-Tests compile and pass with this fix.
Hi all. The issue with the recursive lambda declarations for
parse_datum
andnested_comment
has been resolved. The solution was surprisingly simple: just declare a nested lambda calledrecurse
and have it refer to a lambda that has a[&]
capture list. The internals of the outer lambda are simply nested inside of this inner lambda, and then we simply return the call torecurse(in)
to the top level. All unit-Tests compile and pass with this fix.