Por enquanto, esta lição está em inglês.
Pointers that clean up
A smart pointer is a small RAII object that owns heap memory and frees it in its destructor. You get the flexibility of the heap without writing a single delete.
Por enquanto, esta lição está em inglês.
A smart pointer is a small RAII object that owns heap memory and frees it in its destructor. You get the flexibility of the heap without writing a single delete.