std::shared_ptr::get

From Cppreference

Jump to: navigation, search
T* get() const;

Returns a pointer to the managed object.

Contents

[edit] Parameters

(none)

[edit] Return value

a pointer to the managed object.

[edit] Example

[edit] See also

operator*
operator->
dereferences pointer to the managed object
(public member function)