Categories

Jan 2 in C++
Q:

New Smart Pointer Classes

1 Answer

Jan 2
C++98 defined only one smart pointer class, auto_ptr, which is now deprecated. C++11 includes new smart pointer classes: shared_ptr and the recently-added unique_ptr. Both are compatible with other Standard Library components, so you can safely store these smart pointers in standard containers and manipulate them with standard algorithms.
Click here to read more about C++
Click here to read more about Insurance

Related questions

Madanswer
Jan 2 in C++
Mar 17 in C++
Jul 16, 2019 in C++
...