libstdc++
GNU C++ library
Loading...
Searching...
No Matches

◆ do_get() [10/11]

template<typename _CharT, typename _InIter>
_InIter std::num_get< _CharT, _InIter >::do_get ( iter_type __beg,
iter_type __end,
ios_base & __io,
ios_base::iostate & __err,
long double & __v ) const
protectedvirtual

Numeric parsing.

Parses the input stream into the variable v. This function is a hook for derived classes to change the value returned.

See also
get() for more details.
Parameters
__begStart of input stream.
__endEnd of input stream.
__ioSource of locale and flags.
__errError flags to set.
__vValue to format and insert.
Returns
Iterator after reading.

Definition at line 741 of file locale_facets.tcc.

744 {
745 string __xtrc;
746 __xtrc.reserve(32);
749 if (__beg == __end)
751 return __beg;
752 }
void __convert_to_v(const char *, _Tp &, ios_base::iostate &, const __c_locale &)
static __c_locale _S_get_c_locale()
iter_type _M_extract_float(iter_type, iter_type, ios_base &, ios_base::iostate &, string &) const
Primary class template num_get.

References num_get(), std::__convert_to_v(), _M_extract_float(), std::locale::facet::_S_get_c_locale(), std::basic_string< _CharT, _Traits, _Alloc >::c_str(), std::ios_base::eofbit, and std::basic_string< _CharT, _Traits, _Alloc >::reserve().

Here is the call graph for this function: