Home
last modified time | relevance | path

Searched refs:LocalPointerClassName (Results 1 – 1 of 1) sorted by relevance

/external/icu/icu4c/source/common/unicode/
Dlocalpointer.h496 #define U_DEFINE_LOCAL_OPEN_POINTER(LocalPointerClassName, Type, closeFunction) \ argument
497 class LocalPointerClassName : public LocalPointerBase<Type> { \
501 explicit LocalPointerClassName(Type *p=NULL) : LocalPointerBase<Type>(p) {} \
502 LocalPointerClassName(LocalPointerClassName &&src) U_NOEXCEPT \
506 ~LocalPointerClassName() { if (ptr != NULL) { closeFunction(ptr); } } \
507 LocalPointerClassName &operator=(LocalPointerClassName &&src) U_NOEXCEPT { \
510 LocalPointerClassName &moveFrom(LocalPointerClassName &src) U_NOEXCEPT { \
516 void swap(LocalPointerClassName &other) U_NOEXCEPT { \
521 friend inline void swap(LocalPointerClassName &p1, LocalPointerClassName &p2) U_NOEXCEPT { \
530 #define U_DEFINE_LOCAL_OPEN_POINTER(LocalPointerClassName, Type, closeFunction) \ argument
[all …]