1477 size_t _Prefix = 0 <
_Count && (*
_Buf ==
'+' || *_Buf ==
'-')
1486 if (_Prefix + 2 <=
_Count && _Buf[_Prefix] ==
'0'
1487 && (_Buf[_Prefix + 1] ==
'x' || _Buf[_Prefix + 1] ==
'X'))
1490 const size_t _Eoff =
1492 char _Dp[2] = {
"."};
1494 const size_t _Poff =
1500 _Ctype_fac.
widen(&_Buf[0], &_Buf[
_Count], &_Groupstring[0]);
1503 const string _Grouping = _Punct_fac.grouping();
1504 const _Elem _Kseparator = _Punct_fac.thousands_sep();
1506 if (_Poff != _Count)
1507 _Groupstring[_Poff] = _Punct_fac.decimal_point();
1509 size_t _Off = _Poff == _Count ? _Eoff : _Poff;
1510 const char *_Pg = &_Grouping[0];
1511 while (*_Pg !=
CHAR_MAX &&
'\0' < *_Pg
1512 && (
size_t)*_Pg < _Off - _Prefix)
1514 _Groupstring.insert(_Off -= *_Pg, (
size_t)1, _Kseparator);
1519 _Count = _Groupstring.size();
1520 size_t _Fillcount = _Iosbase.
width() <= 0
1524 ios_base::fmtflags _Adjustfield =
1544 return (
_Rep(
_Dest, _Fill, _Fillcount));
numpunct< _Elem > _Mypunct
Definition: xlocnum:1226
unsigned _Dest
Definition: mbstring.h:107
unsigned int size_t
Definition: sourceannotations.h:19
#define _USE(loc, fac)
Definition: xlocale:499
char * decimal_point
Definition: locale.h:31
_In_z_ char const _Source _Check_return_ _ACRTIMP size_t __cdecl strcspn(_In_z_ char const *_Str, _In_z_ char const *_Control)
locale __CLR_OR_THIS_CALL getloc() const
Definition: xiosbase:432
_Check_return_opt_ _ACRTIMP struct lconv *__cdecl localeconv(void)
fmtflags __CLR_OR_THIS_CALL flags() const
Definition: xiosbase:375
streamsize __CLR_OR_THIS_CALL width() const
Definition: xiosbase:420
_OutIt __CLRCALL_OR_CDECL _Rep(_OutIt _Dest, _Elem _Ch, size_t _Count) const
Definition: xlocnum:1642
static constexpr _Fmtflags internal
Definition: xiosbase:63
static constexpr _Fmtflags floatfield
Definition: xiosbase:79
_Elem __CLR_OR_THIS_CALL widen(char _Byte) const
Definition: xlocale:2126
_OutIt __CLRCALL_OR_CDECL _Put(_OutIt _Dest, const _Elem *_Ptr, size_t _Count) const
Definition: xlocnum:1634
static constexpr _Fmtflags hexfloat
Definition: xiosbase:70
#define CHAR_MAX
Definition: limits.h:24
basic_string< _Elem, char_traits< _Elem >, allocator< _Elem > > _Mystr
Definition: xlocnum:1228
_Diff _Count
Definition: algorithm:1941
#define _CSTD
Definition: yvals.h:570
static constexpr _Fmtflags adjustfield
Definition: xiosbase:75
static constexpr _Fmtflags left
Definition: xiosbase:61