Searched refs:LocalPointerBase (Results 1 – 7 of 7) sorted by relevance
68 class LocalPointerBase {82 explicit LocalPointerBase(T *p=NULL) : ptr(p) {} in ptr()88 ~LocalPointerBase() { /* delete ptr; */ } in ~LocalPointerBase()165 bool operator==(const LocalPointerBase<T> &other);166 bool operator!=(const LocalPointerBase<T> &other);168 LocalPointerBase(const LocalPointerBase<T> &other);169 void operator=(const LocalPointerBase<T> &other);191 class LocalPointer : public LocalPointerBase<T> {193 using LocalPointerBase<T>::operator*;194 using LocalPointerBase<T>::operator->;[all …]
138 class LocalMemory : public LocalPointerBase<T> {140 using LocalPointerBase<T>::operator*;141 using LocalPointerBase<T>::operator->;146 explicit LocalMemory(T *p=NULL) : LocalPointerBase<T>(p) {}151 LocalMemory(LocalMemory<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) { in LocalMemory()158 uprv_free(LocalPointerBase<T>::ptr); in ~LocalMemory()167 uprv_free(LocalPointerBase<T>::ptr);168 LocalPointerBase<T>::ptr=src.ptr;177 T *temp=LocalPointerBase<T>::ptr; in swap()178 LocalPointerBase<T>::ptr=other.ptr; in swap()[all …]
26 template class U_I18N_API LocalPointerBase<int32_t>; variable
29 template class U_I18N_API LocalPointerBase<CurrencyPluralInfo>; variable
29 template class U_I18N_API LocalPointerBase<number::impl::AdoptingModifierStore>; variable
63 using icu::LocalPointerBase;