The non-intrusive ad-hoc borrowing scheme…
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Wed Nov 13 13:12:16 UTC 2019
On Wednesday, 13 November 2019 at 12:22:12 UTC, Ola Fosheim
Grøstad wrote:
> That allows you to track borrowing during debugging/testing,
> and turn it off in release mode.
You could also have a circular buffer that registers where
borrowing/unborrowing happens, so that you can pinpoint which
sourcecode line to look at.
(And still use the same tooling for static analysis of pointers
that C++ will use + valgrind.)
More information about the Digitalmars-d
mailing list