Home | History | Annotate | Download | only in interface

Lines Matching defs:scoped_array

117 //  scoped_array extends scoped_ptr to arrays. Deletion of the array pointed to
118 // is guaranteed, either on destruction of the scoped_array or via an explicit
122 class scoped_array {
127 scoped_array(scoped_array const &);
128 scoped_array & operator=(scoped_array const &);
134 explicit scoped_array(T* p = NULL) : ptr(p) {}
136 ~scoped_array() {
147 // Delete last, in case arr destructor indirectly results in ~scoped_array
162 void swap(scoped_array & b) {
184 void swap(scoped_array<T>& a, scoped_array<T>& b) {