The current tree visitor is hacky. We should adopt what we've done in forrustts as a model for fwdpp. Some ownership semantics may be a bit trickier, though. It seems that shared_ptr will work, but it isn't "safe" (in a rusty sense), as the consumer could delete it. Sigh.
The current tree visitor is hacky. We should adopt what we've done in forrustts as a model for fwdpp. Some ownership semantics may be a bit trickier, though. It seems that shared_ptr will work, but it isn't "safe" (in a rusty sense), as the consumer could delete it. Sigh.