template <typename Type, auto closeFunction>

class LocalOpenPointer

Defined at line 560 of file ../../third_party/icu/default/source/common/unicode/localpointer.h

Implementation, do not use directly: use U_DEFINE_LOCAL_OPEN_POINTER.

Public Methods

void LocalOpenPointer<Type, closeFunction> (Type * p)

Defined at line 565 of file ../../third_party/icu/default/source/common/unicode/localpointer.h

void LocalOpenPointer<Type, closeFunction> (LocalOpenPointer<Type, closeFunction> && src)

Defined at line 566 of file ../../third_party/icu/default/source/common/unicode/localpointer.h

void LocalOpenPointer<Type, closeFunction> (std::unique_ptr<Type, decltype(closeFunction)> && p)

TODO: Be agnostic of the deleter function signature from the user-provided std::unique_ptr?

Defined at line 571 of file ../../third_party/icu/default/source/common/unicode/localpointer.h

void ~LocalOpenPointer<Type, closeFunction> ()

Defined at line 573 of file ../../third_party/icu/default/source/common/unicode/localpointer.h

LocalOpenPointer<Type, closeFunction> & operator= (LocalOpenPointer<Type, closeFunction> && src)

Defined at line 574 of file ../../third_party/icu/default/source/common/unicode/localpointer.h

LocalOpenPointer<Type, closeFunction> & operator= (std::unique_ptr<Type, decltype(closeFunction)> && p)

TODO: Be agnostic of the deleter function signature from the user-provided std::unique_ptr?

Defined at line 581 of file ../../third_party/icu/default/source/common/unicode/localpointer.h

void swap (LocalOpenPointer<Type, closeFunction> & other)

Defined at line 585 of file ../../third_party/icu/default/source/common/unicode/localpointer.h

void adoptInstead (Type * p)

Defined at line 593 of file ../../third_party/icu/default/source/common/unicode/localpointer.h

std::unique_ptr<Type, decltype(closeFunction)> operator std::unique_ptr<type-parameter-0-0, decltype(value-parameter-0-1)> ()

Defined at line 597 of file ../../third_party/icu/default/source/common/unicode/localpointer.h

Friends

template <typename Typeauto closeFunction>
void LocalOpenPointer (LocalOpenPointer<Type, closeFunction> & p1LocalOpenPointer<Type, closeFunction> & p2)