ICU 78.1 78.1 |
"Smart pointer" class; closes a USimpleNumber viausnum_close().More...
#include <usimplenumberformatter.h>
"Smart pointer" class; closes a USimpleNumber viausnum_close().
For most methods see the LocalPointerBase base class.
NOTE: Normally, a USimpleNumber should be adopted by usnumf_formatAndAdoptNumber. If you useLocalUSimpleNumberPointer, call.orphan() when passing to that function.
Usage:
LocalUSimpleNumberPointer uformatter(usnumf_openForInteger(...));// no need to explicitly callusnum_close()