std::auto_ptr_ref(3)

std::auto_ptr_ref3

Usage

#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.

Releases

4 releases since Debian 3.1 (Sarge); the text changed 3 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. Arch

Author

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

From gcc 16.2.1+r23+gd564253eb6c8-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.