[ Web Proxy ]
URL:
Viewing: https://ru.cppreference.com/cpp/memory/auto_ptr [Back]  [Original]

std::auto_ptr cppreference.com
cppreference.com

std::auto_ptr

cppreference.com
 
C++
(C++20)
(C++20)
(C++11)
(C++20)
/
(C++11)
(C++11)
(C++11)
(C++17)
 
 
no section name
no section name
(C++11)( C++23)
(C++11)( C++23)
(C++11)( C++23)
(C++11)( C++23)
(C++11)( C++23)
(C++11)( C++23)



no section name
 
 
<tbody> </tbody>
template< class T > class auto_ptr;
(1) ( C++11)
( C++17)
template<> class auto_ptr<void>;
(2) ( C++11)
( C++17)

auto_ptr , , new, auto_ptr. , .

auto_ptr : auto_ptr , "" . - auto_ptr . std::unique_ptr ( C++11).

2) void, element_type, -.

-

element_type T

-

auto_ptr
(public -) []
auto_ptr
(public -) []
auto_ptr
(public -) []

(public -) []

(public -) []

(public -) []

(public -) []

(public -) []

Web Proxy Viewer  |  New URL  |  Original Page