std::auto_ptr::operator auto_ptr<Y>
From cppreference.com
template< class Y >
operator auto_ptr_ref<Y>(); |
(1) | (deprecated) |
template< class Y >
operator auto_ptr<Y>(); |
(2) | (deprecated) |
Converts *this to an auto_ptr
for a different type Y
.
1) Returns an implementation-defined type that holds a reference to *this. The implementation is allowed to provide the template with a different name or implement equivalent functionality in other ways.
[edit] Parameters
(none)
[edit] Return value
1) An implementation-defined type that holds a reference to *this
[edit] Exceptions
(none)