janicicpredrag / gclc

GCLC is a mathematical software tool for producing high-quality mathematical illustrations, for teaching mathematics, and for automated proving of geometry theorems.
http://www.matf.bg.ac.rs/~janicic/gclc/
Other
53 stars 7 forks source link

reference count 'AvlNode' with 'std::shared_ptr' #66

Closed Smattr closed 5 months ago

Smattr commented 5 months ago

This avoids the need for manual Dispose calls, removing an opportunity for accidental omissions. By leaning on the standard library, we also get a reference counting implementation optimised for the target platform.