Home | History | Annotate | Download | only in stubs

Lines Matching defs:scoped_array

433 //  scoped_array, scoped_ptr_malloc, and make_scoped_ptr.
436 template <class C> class scoped_array;
525 // scoped_array<C> is like scoped_ptr<C>, except that the caller must allocate
528 // As with scoped_ptr<C>, a scoped_array<C> either points to an object
529 // or is NULL. A scoped_array<C> owns the object that it points to.
531 // Size: sizeof(scoped_array<C>) == sizeof(C*)
533 class scoped_array {
540 // There is no way to create an uninitialized scoped_array.
542 explicit scoped_array(C* p = NULL) : array_(p) { }
546 ~scoped_array() {
577 // These return whether two scoped_array refer to the same object, not just to
583 void swap(scoped_array& p2) {
603 // Forbid comparison of different scoped_array types.
604 template <class C2> bool operator==(scoped_array<C2> const& p2) const;
605 template <class C2> bool operator!=(scoped_array<C2> const& p2) const;
608 scoped_array(const scoped_array&);
609 void operator=(const scoped_array&);
617 using internal::scoped_array;