Lines Matching refs:scoped_array
48 template <class C> class scoped_array; variable
194 class scoped_array {
202 explicit scoped_array(C* p = NULL) : array_(p) { } in array_()
206 ~scoped_array() { in ~scoped_array()
243 void swap(scoped_array& p2) { in swap()
264 template <class C2> bool operator==(scoped_array<C2> const& p2) const;
265 template <class C2> bool operator!=(scoped_array<C2> const& p2) const;
268 scoped_array(const scoped_array&);
269 void operator=(const scoped_array&);
274 inline void swap(scoped_array<C>& p1, scoped_array<C>& p2) { in swap()
279 inline bool operator==(const C* p1, const scoped_array<C>& p2) {
284 inline bool operator==(const C* p1, const scoped_array<const C>& p2) {
289 inline bool operator!=(const C* p1, const scoped_array<C>& p2) {
294 inline bool operator!=(const C* p1, const scoped_array<const C>& p2) {