std::auto_ptr::get - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::auto_ptr::get

From cppreference.com
< cpp‎ | memory‎ | auto ptr

T* get() const; |  | (deprecated)

Returns the pointer that is held by *this.

### [edit] Parameters

(none)

### [edit] Return value

The pointer held by *this.

### [edit] Exceptions

(none)

### [edit] See also

operator*operator-> | accesses the managed object (public member function) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/memory/auto_ptr/get&oldid=58298"