ICU 62.1 62.1
LocalUNumberFormatterPointer Class Reference

"Smart pointer" class; closes a UNumberFormatter via unumf_close(). More...

#include <unumberformatter.h>

Detailed Description

"Smart pointer" class; closes a UNumberFormatter via unumf_close().

"Smart pointer" class; closes a UFormattedNumber via unumf_closeResult().

For most methods see the LocalPointerBase base class.

Usage:

LocalUNumberFormatterPointer uformatter(unumf_openForSkeletonAndLocale(...));
// no need to explicitly call unumf_close()
See also
LocalPointerBase
LocalPointer
Draft
This API may be changed in the future versions and was introduced in ICU 62

For most methods see the LocalPointerBase base class.

Usage:

LocalUFormattedNumberPointer uformatter(unumf_openResult(...));
// no need to explicitly call unumf_closeResult()
See also
LocalPointerBase
LocalPointer
Draft
This API may be changed in the future versions and was introduced in ICU 62

The documentation for this class was generated from the following file: