template <typename Type, auto closeFunction>

class LocalOpenPointer

Defined at line 562 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 567 of file ../../third_party/icu/default/source/common/unicode/localpointer.h

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

Defined at line 568 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 573 of file ../../third_party/icu/default/source/common/unicode/localpointer.h

void ~LocalOpenPointer<Type, closeFunction> ()

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

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

Defined at line 576 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 583 of file ../../third_party/icu/default/source/common/unicode/localpointer.h

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

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

void adoptInstead (Type * p)

Defined at line 595 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 599 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)