Auto ptr

In the C++ programming language, auto_ptr (for automatic pointer) is an obsolete smart pointer class template that was available in previous versions of the C++ standard library (declared in the <memory> header file), which provides some basic RAII features for C++ raw pointers. It has been replaced by the unique_ptr class.

Source: Wikipedia — Auto ptr (CC BY-SA 4.0)

Auto ptr

In the C++ programming language, auto_ptr (for automatic pointer) is an obsolete smart pointer class template that was available in previous versions of the C++ standard library (declared in the <memory> header file), which provides some basic RAII features for C++ raw pointers. It has been replaced by the unique_ptr class.

Source: Wikipedia "Auto ptr" · CC BY-SA 4.0

Share this article: X · Bluesky
Privacy Policy