ADC Home > Reference Library > Reference > Darwin > Miscellaneous User Space API Reference
|
boost_memory.h |
This is an internal header file, included by other library headers. You should not attempt to use it directly.
_Sp_counted_base_impl |
_Sp_counted_base_impl( _Ptr __p, _Deleter __d) : _M_ptr( __p), _M_del( __d)
@brief @pre d(p) must not throw.
const_pointer_cast |
template <typename _Tp, typename _Tp1> shared_ptr<_Tp> const_pointer_cast( const shared_ptr<_Tp1>& __r)
@warning The seemingly equivalent
shared_ptr
will eventually result in undefined behaviour,
attempting to delete the same object twice.
dynamic_pointer_cast |
template <typename _Tp, typename _Tp1> shared_ptr<_Tp> dynamic_pointer_cast( const shared_ptr<_Tp1>& __r)
@warning The seemingly equivalent
shared_ptr
will eventually result in undefined behaviour,
attempting to delete the same object twice.
static_pointer_cast |
template <typename _Tp, typename _Tp1> shared_ptr<_Tp> static_pointer_cast( const shared_ptr<_Tp1>& __r)
@warning The seemingly equivalent
shared_ptr
will eventually result in undefined behaviour,
attempting to delete the same object twice.
swap(tr1 :: shared_ptr _Tp &, tr1 :: shared_ptr _Tp &) |
template <typename _Tp> inline void swap( tr1::shared_ptr<_Tp>& __a, tr1::shared_ptr<_Tp>& __b)
@brief std::swap() specialisation for shared_ptr. @relates shared_ptr.
swap(tr1 :: weak_ptr _Tp &, tr1 :: weak_ptr _Tp &) |
template <typename _Tp> void swap( tr1::weak_ptr<_Tp>& __a, tr1::weak_ptr<_Tp>& __b)
@brief std::swap() specialisation for weak_ptr. @relates weak_ptr.