IIRC they are there intentionally because there is some sharing going on (ruling
out unique_ptr), but the semantics of what is shared are simple enough that the
ref-counting of shared_ptr would be unnecessary overhead. But perhaps we can
think of an alternative way to achieve the same thing.
|