GitHub repository: kburchfiel/Example-Program-Showing-How-unique_ptr-Avoids-Memory-Leaks
Primary language: C++
Created: 2020-06-20T01:15:36Z
Description: An example C++ program demonstrating how C++'s unique_ptr helps prevent memory leaks. It includes a comparison to regular pointers. Note that this program will (intentionally) leak memory if the newcharsusingptr function is selected within int main().