ICU 65.1  65.1
LocalUConstrainedFieldPositionPointer Class Reference

"Smart pointer" class; closes a UConstrainedFieldPosition via ucfpos_close(). More...

#include <uformattedvalue.h>

Detailed Description

"Smart pointer" class; closes a UConstrainedFieldPosition via ucfpos_close().

For most methods see the LocalPointerBase base class.

Usage:

LocalUConstrainedFieldPositionPointer ucfpos(ucfpos_open(ec));
// no need to explicitly call ucfpos_close()
Draft:
This API may be changed in the future versions and was introduced in ICU 64

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