5#ifndef ICE_UTIL_SCOPED_ARRAY_H
6#define ICE_UTIL_SCOPED_ARRAY_H
10#ifndef ICE_CPP11_MAPPING
45 assert(ptr == 0 || ptr != _ptr);
void reset(T *ptr=0)
Definition ScopedArray.h:43
ScopedArray(const ScopedArray &other)
Definition ScopedArray.h:29
T * get() const
Definition ScopedArray.h:71
~ScopedArray()
Definition ScopedArray.h:35
ScopedArray(T *ptr=0)
Definition ScopedArray.h:24
T * release()
Definition ScopedArray.h:83
void swap(ScopedArray &a)
Definition ScopedArray.h:76
ScopedArray & operator=(const ScopedArray &other)
Definition ScopedArray.h:53
T & operator[](size_t i) const
Definition ScopedArray.h:64