Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::shared_array< T > Class Template Reference

#include <shared_array.hpp>

Inheritance diagram for boost::shared_array< T >:

Public Types

typedef T element_type
 

Public Member Functions

 shared_array () BOOST_NOEXCEPT
 
 shared_array (boost::detail::sp_nullptr_t) BOOST_NOEXCEPT
 
template<class Y >
 shared_array (Y *p)
 
template<class Y , class D >
 shared_array (Y *p, D d)
 
template<class Y , class D , class A >
 shared_array (Y *p, D d, A a)
 
 shared_array (shared_array const &r) BOOST_NOEXCEPT
 
 shared_array (shared_array &&r) BOOST_NOEXCEPT
 
template<class Y >
 shared_array (shared_array< Y > const &r, typename boost::detail::sp_enable_if_convertible< Y[], T[] >::type=boost::detail::sp_empty()) BOOST_NOEXCEPT
 
template<class Y >
 shared_array (shared_array< Y > const &r, element_type *p) BOOST_NOEXCEPT
 
shared_arrayoperator= (shared_array const &r) BOOST_NOEXCEPT
 
template<class Y >
shared_arrayoperator= (shared_array< Y > const &r) BOOST_NOEXCEPT
 
shared_arrayoperator= (shared_array &&r) BOOST_NOEXCEPT
 
template<class Y >
shared_arrayoperator= (shared_array< Y > &&r) BOOST_NOEXCEPT
 
void reset () BOOST_NOEXCEPT
 
template<class Y >
void reset (Y *p)
 
template<class Y , class D >
void reset (Y *p, D d)
 
template<class Y , class D , class A >
void reset (Y *p, D d, A a)
 
template<class Y >
void reset (shared_array< Y > const &r, element_type *p)
 
Toperator[] (std::ptrdiff_t i) const
 
Tget () const BOOST_NOEXCEPT
 
bool unique () const BOOST_NOEXCEPT
 
long use_count () const BOOST_NOEXCEPT
 
void swap (shared_array< T > &other) BOOST_NOEXCEPT
 
void * _internal_get_deleter (boost::detail::sp_typeinfo const &ti) const
 

Friends

template<class Y >
class shared_array
 

Member Typedef Documentation

template<class T>
typedef T boost::shared_array< T >::element_type

Constructor & Destructor Documentation

template<class T>
boost::shared_array< T >::shared_array ( )
inline
template<class T>
boost::shared_array< T >::shared_array ( boost::detail::sp_nullptr_t  )
inline
template<class T>
template<class Y >
boost::shared_array< T >::shared_array ( Y *  p)
inlineexplicit
template<class T>
template<class Y , class D >
boost::shared_array< T >::shared_array ( Y *  p,
d 
)
inline
template<class T>
template<class Y , class D , class A >
boost::shared_array< T >::shared_array ( Y *  p,
d,
a 
)
inline
template<class T>
boost::shared_array< T >::shared_array ( shared_array< T > const &  r)
inline
template<class T>
boost::shared_array< T >::shared_array ( shared_array< T > &&  r)
inline
template<class T>
template<class Y >
boost::shared_array< T >::shared_array ( shared_array< Y > const &  r,
typename boost::detail::sp_enable_if_convertible< Y[], T[] >::type  = boost::detail::sp_empty() 
)
inline
template<class T>
template<class Y >
boost::shared_array< T >::shared_array ( shared_array< Y > const &  r,
element_type p 
)
inline

Member Function Documentation

template<class T>
void* boost::shared_array< T >::_internal_get_deleter ( boost::detail::sp_typeinfo const &  ti) const
inline

Referenced by boost::get_deleter().

template<class T>
shared_array& boost::shared_array< T >::operator= ( shared_array< T > const &  r)
inline
template<class T>
template<class Y >
shared_array& boost::shared_array< T >::operator= ( shared_array< Y > const &  r)
inline
template<class T>
shared_array& boost::shared_array< T >::operator= ( shared_array< T > &&  r)
inline
template<class T>
template<class Y >
shared_array& boost::shared_array< T >::operator= ( shared_array< Y > &&  r)
inline
template<class T>
T& boost::shared_array< T >::operator[] ( std::ptrdiff_t  i) const
inline
template<class T>
void boost::shared_array< T >::reset ( void  )
inline
template<class T>
template<class Y >
void boost::shared_array< T >::reset ( Y *  p)
inline
template<class T>
template<class Y , class D >
void boost::shared_array< T >::reset ( Y *  p,
d 
)
inline
template<class T>
template<class Y , class D , class A >
void boost::shared_array< T >::reset ( Y *  p,
d,
a 
)
inline
template<class T>
template<class Y >
void boost::shared_array< T >::reset ( shared_array< Y > const &  r,
element_type p 
)
inline
template<class T>
void boost::shared_array< T >::swap ( shared_array< T > &  other)
inline
template<class T>
bool boost::shared_array< T >::unique ( void  ) const
inline
template<class T>
long boost::shared_array< T >::use_count ( ) const
inline

Friends And Related Function Documentation

template<class T>
template<class Y >
friend class shared_array
friend

The documentation for this class was generated from the following file: