49 #ifndef COMMON_SCOPED_PTR_H_ 50 #define COMMON_SCOPED_PTR_H_ 74 typedef char type_must_be_complete[
sizeof(T)];
79 typedef char type_must_be_complete[
sizeof(T)];
128 template<
typename T>
inline 133 template<
typename T>
inline 138 template<
typename T>
inline 163 typedef char type_must_be_complete[
sizeof(T)];
168 typedef char type_must_be_complete[
sizeof(T)];
213 template<
class T>
inline 218 template<
typename T>
inline 223 template<
typename T>
inline 241 template<
typename T,
typename FreeProc = ScopedPtrMallocFree>
257 typedef char type_must_be_complete[
sizeof(T)];
262 typedef char type_must_be_complete[
sizeof(T)];
307 template <
typename U,
typename GP>
309 template <
typename U,
typename GP>
312 static FreeProc
const free_;
315 template<
typename T,
typename FP>
318 template<
typename T,
typename FP>
inline 323 template<
typename T,
typename FP>
inline 328 template<
typename T,
typename FP>
inline 335 #endif // COMMON_SCOPED_PTR_H_
bool operator==(T *p) const
void swap(scoped_ptr_malloc &b)
bool operator==(T *p) const
bool operator!=(T *p) const
bool operator!=(T *p) const
T & operator[](std::ptrdiff_t i) const
scoped_ptr_malloc(T *p=0)
void operator()(void *x) const
bool operator!=(T *p) const
void swap(scoped_array &b)
bool operator==(T *p) const