Scroll to navigation

std::auto_ptr_ref< _Tp1 >(3cxx) std::auto_ptr_ref< _Tp1 >(3cxx)

NAME

std::auto_ptr_ref< _Tp1 >

SYNOPSIS

#include <memory>

Public Member Functions


auto_ptr_ref (_Tp1 *__p)

Public Attributes


_Tp1 * _M_ptr

Detailed Description

template<typename _Tp1>

struct std::auto_ptr_ref< _Tp1 >"A wrapper class to provide auto_ptr with reference semantics. For example, an auto_ptr can be assigned (or constructed from) the result of a function which returns an auto_ptr by value.

All the auto_ptr_ref stuff should happen behind the scenes.

Definition at line 48 of file memory.

Constructor & Destructor Documentation

template<typename _Tp1 > std::auto_ptr_ref< _Tp1 >::auto_ptr_ref (_Tp1 * __p) [inline], [explicit]

Definition at line 53 of file memory.

Member Data Documentation

template<typename _Tp1 > _Tp1* std::auto_ptr_ref< _Tp1 >::_M_ptr

Definition at line 50 of file memory.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Mon Aug 22 2022 libstdc++