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

#include <scoped_array.hpp>

Inheritance diagram for boost::scoped_array< T >:

Public Types

typedef T element_type
 

Public Member Functions

 scoped_array (T *p=0) BOOST_NOEXCEPT
 
 ~scoped_array ()
 
void reset (T *p=0)
 
Toperator[] (std::ptrdiff_t i) const
 
Tget () const BOOST_NOEXCEPT
 
void swap (scoped_array &b) BOOST_NOEXCEPT
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<class T>
boost::scoped_array< T >::scoped_array ( T p = 0)
inlineexplicit
template<class T>
boost::scoped_array< T >::~scoped_array ( )
inline

Member Function Documentation

template<class T>
T& boost::scoped_array< T >::operator[] ( std::ptrdiff_t  i) const
inline
template<class T>
void boost::scoped_array< T >::swap ( scoped_array< T > &  b)
inline

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