std::experimental:: shared_ptr
From cppreference.com
<
cpp
|
experimental
Defined in header
<experimental/memory>
|
||
template
<
class
T
>
class
shared_ptr
;
|
(library fundamentals TS) | |
std::experimental::shared_ptr
is a modified version of
std::shared_ptr
that adds support for arrays.
Member types
Member type | Definition |
element_type | std:: remove_extent_t < T > |
Member functions
constructs new
shared_ptr
(public member function) |
|
Observers |
|
returns the stored pointer
(public member function) |
|
dereferences the stored pointer
(public member function) |
|
provides index access to the array
(public member function) |
Non-member functions
applies
static_cast
,
dynamic_cast
,
const_cast
, or
reinterpret_cast
to the stored pointer
(function template) |
Helper classes
hash support for
std::experimental::shared_ptr
(class template specialization) |
Example
This section is incomplete
Reason: no example |