/learn_cpp

learn c++,notes and code

Memory Managerment

std::unique_ptr

std::unique_ptr is a smart pointer that owns and manages another object through a pointer and disposes of that object when the unique_ptr goes out of scope.