Introduce Pointerwrapper
Replace raw TRef
references with smarter PointerWrapper
classes which only resolve to a TRef
when stored (manually via their store()
method, respectively the petrifyHistory()
method of the containing classes).
This is modeled after allpix-squared/allpix-squared!338 (merged).
This fixes #156 (closed)
Edited by Simon Spannagel