Lines Matching refs:auto_array
32 #include "utils/auto_array.hpp"
53 /// Constructs a new auto_array from a given pointer.
60 auto_array< T >::auto_array(T* ptr) throw() :
66 /// Constructs a copy of an auto_array.
71 auto_array< T >::auto_array(auto_array< T >& ptr) throw() :
77 /// Constructs a new auto_array form a reference.
79 /// Internal function used to construct a new auto_array from an object
84 auto_array< T >::auto_array(detail::auto_array_ref< T > ref) throw() :
90 /// Destructor for auto_array objects.
92 auto_array< T >::~auto_array(void) throw()
104 auto_array< T >::get(void) throw()
115 auto_array< T >::get(void) const throw()
126 auto_array< T >::release(void) throw()
136 /// If the auto_array was pointing to an array, such array is released and the
142 auto_array< T >::reset(T* ptr) throw()
153 /// \return A reference to the auto_array object itself.
155 auto_array< T >&
156 auto_array< T >::operator=(auto_array< T >& ptr) throw()
166 /// \return A reference to the auto_array object itself.
168 auto_array< T >&
169 auto_array< T >::operator=(detail::auto_array_ref< T > ref) throw()
181 /// This does not perform any bounds checking, in particular because auto_array
189 auto_array< T >::operator[](int pos) throw()
197 /// This does not perform any bounds checking, in particular because auto_array
205 auto_array< T >::operator[](int pos) const throw()
213 /// This is used internally to support returning auto_array objects from
214 /// functions. The auto_array is invalidated when used.
218 auto_array< T >::operator detail::auto_array_ref< T >(void) throw()