_InputIter _STLP_CALL __do_get_float(_InputIter& __in_ite, _InputIter& __end, ios_base& __str, ios_base::iostate& __err, _Float& __val, _CharT* __pc) { __iostring __buf ; bool __ok = __read_float(__buf, __in_ite, __end, __str, (_CharT*)0 ); if (__ok) { __string_to_float(__buf, __val); __err = ios_base::goodbit; } else { __err = ios_base::failbit; } if (__in_ite == __end) __err |= ios_base::eofbit; return __in_ite; }
_InputIter _STLP_CALL __do_get_float(_InputIter& __in_ite, _InputIter& __end, ios_base& __str, ios_base::iostate& __err, _Float& __val, _CharT* /*__pc*/) { locale __loc = __str.getloc(); const ctype<_CharT> &__ctype = use_facet<ctype<_CharT> >(__loc); const numpunct<_CharT> &__numpunct = use_facet<numpunct<_CharT> >(__loc); __iostring __buf ; bool __ok = __read_float(__buf, __in_ite, __end, __ctype, __numpunct); if (__ok) { __string_to_float(__buf, __val); __err = ios_base::goodbit; } else { __err = ios_base::failbit; } if (__in_ite == __end) __err |= ios_base::eofbit; return __in_ite; }