Hacker News new | ask | show | jobs
by feelamee 7 days ago
I think nothing prevents this, but this is just not the point of unique_ptr. unique_ptr is still ptr, so it consequently follows raw pointer semantics.