Pull Request №664 RosettaCommons/rosetta/main ← lyskov-ai/rosetta/refactor/izstream-unique-ptr
Merge: f9c5b025aa6240de1105fd6cdcf04f7a535ea67d←2371147ec5067102b18bc01e0529261a8d4797ad
Refactor izstream raw zip_stream_p_ pointer to unique_ptr
----------------
Merge commit message:
Refactor izstream raw zip_stream_p_ pointer to unique_ptr
zip_stream_p_ was a raw owning pointer managed by a custom destructor
with no corresponding copy/move declarations — the inherited private
copy ops from irstream prevented copying, but this relied on an
implicit base-class mechanism rather than explicit class policy.
Replace the raw pointer with std::unique_ptr, explicitly delete copy
constructor and copy assignment in izstream itself, and update all
reset/allocation sites to use unique_ptr::reset(). The redundant
manual delete in the destructor is eliminated; the if_stream_ cleanup
calls are kept.