Any way to do a binary tree traversal without `opApply` and allocations?

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Thu Mar 26 23:30:32 UTC 2026


I saw on Discord that the issue with the existing opApply was you were 
hard coding the return values (which was never correct).

If that is not the only issue please let me know.

As for how to do the opApply attribute handling, here is how I do it: 
https://github.com/Project-Sidero/basic_memory/blob/main/generated/sidero/base/internal/meta.d




More information about the Digitalmars-d-learn mailing list