|
Smart pointers, etc.
| shared_ptr<_Tp> std::allocate_shared | ( | _Alloc | __a, | |
| _Args &&... | __args | |||
| ) | [inline] |
Create an object that is owned by a shared_ptr.
| __a | An allocator. | |
| __args | Arguments for the _Tp object's constructor. |
| An | exception thrown from _Alloc::allocate or from the constructor of _Tp. |
A copy of __a will be used to allocate memory for the shared_ptr and the new object.
Definition at line 452 of file shared_ptr.h.
| _Del* std::get_deleter | ( | const __shared_ptr< _Tp, _Lp > & | __p | ) | [inline] |
2.2.3.10 shared_ptr get_deleter (experimental)
Definition at line 74 of file shared_ptr.h.
| shared_ptr<_Tp> std::make_shared | ( | _Args &&... | __args | ) | [inline] |
Create an object that is owned by a shared_ptr.
| __args | Arguments for the _Tp object's constructor. |
| std::bad_alloc,or | an exception thrown from the constructor of _Tp. |
Definition at line 467 of file shared_ptr.h.
| std::basic_ostream<_Ch, _Tr>& std::operator<< | ( | std::basic_ostream< _Ch, _Tr > & | __os, | |
| const __shared_ptr< _Tp, _Lp > & | __p | |||
| ) | [inline] |
2.2.3.7 shared_ptr I/O
Definition at line 64 of file shared_ptr.h.
1.7.1