how to delete unique_ptr
I was wondering how I would go about deleting just a single member in a unique_ptr array
here is what I have:
Blocks[a][b][c] = std::unique_ptr<Foo>(new Foo);
and then I would like to do something equivalent to:
Last edited on
Topic archived. No new replies allowed.