ICU 68.2: LocalUFormattedNumberPointer Class Reference

ICU 68.2 68.2

LocalUFormattedNumberPointer Class Reference

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

`#include <unumberrangeformatter.h>`

## Detailed Description

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

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 455 of file unumberrangeformatter.h.

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

- unumberrangeformatter.h