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