ICU 69.1  69.1
LocalUFormattedNumberPointer Class Reference

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

#include <unumberformatter.h>

Detailed Description

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

For most methods see the LocalPointerBase base class.

Usage:

LocalUFormattedNumberPointer uformatter(unumf_openResult(...));
// no need to explicitly call unumf_closeResult()
See also
LocalPointerBase
LocalPointer
Stable:
ICU 62

For most methods see the LocalPointerBase base class.

Usage:

LocalUFormattedNumberRangePointer uresult(unumrf_openResult(...));
// no need to explicitly call unumrf_closeResult()
See also
LocalPointerBase
LocalPointer
Draft:
This API may be changed in the future versions and was introduced in ICU 68

Definition at line 453 of file unumberrangeformatter.h.


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