Lines Matching defs:scoped_array
448 // scoped_array, scoped_ptr_malloc, and make_scoped_ptr.
451 template <class C> class scoped_array;
540 // scoped_array<C> is like scoped_ptr<C>, except that the caller must allocate
543 // As with scoped_ptr<C>, a scoped_array<C> either points to an object
544 // or is NULL. A scoped_array<C> owns the object that it points to.
546 // Size: sizeof(scoped_array<C>) == sizeof(C*)
548 class scoped_array {
555 // There is no way to create an uninitialized scoped_array.
557 explicit scoped_array(C* p = NULL) : array_(p) { }
561 ~scoped_array() {
592 // These return whether two scoped_array refer to the same object, not just to
598 void swap(scoped_array& p2) {
618 // Forbid comparison of different scoped_array types.
619 template <class C2> bool operator==(scoped_array<C2> const& p2) const;
620 template <class C2> bool operator!=(scoped_array<C2> const& p2) const;
623 scoped_array(const scoped_array&);
624 void operator=(const scoped_array&);
632 using internal::scoped_array;