受保护的虚成员函数
<locale>

std::num_get::do_get

bool (1)
iter_type do_get (iter_type in, iter_type end, ios_base& str,               ios_base::iostate& err, bool& val) const;
long (2)
iter_type do_get (iter_type in, iter_type end, ios_base& str,               ios_base::iostate& err, long& val) const;
unsigned short (3)
iter_type do_get (iter_type in, iter_type end, ios_base& str,               ios_base::iostate& err, unsigned short& val) const;
unsigned int (4)
iter_type do_get (iter_type in, iter_type end, ios_base& str,               ios_base::iostate& err, unsigned int& val) const;
unsigned long (5)
iter_type do_get (iter_type in, iter_type end, ios_base& str,               ios_base::iostate& err, unsigned long& val) const;
float (6)
iter_type do_get (iter_type in, iter_type end, ios_base& str,               ios_base::iostate& err, float& val) const;
double (7)
iter_type do_get (iter_type in, iter_type end, ios_base& str,               ios_base::iostate& err, double& val) const;
long double (8)
iter_type do_get (iter_type in, iter_type end, ios_base& str,               ios_base::iostate& err, long double& val) const;
pointer (9)
iter_type do_get (iter_type in, iter_type end, ios_base& str,               ios_base::iostate& err, void*& val) const;
bool (1)
iter_type do_get (iter_type in, iter_type end, ios_base& str,               ios_base::iostate& err, bool& val) const;
long (2)
iter_type do_get (iter_type in, iter_type end, ios_base& str,               ios_base::iostate& err, long& val) const;
unsigned short (3)
iter_type do_get (iter_type in, iter_type end, ios_base& str,               ios_base::iostate& err, unsigned short& val) const;
unsigned int (4)
iter_type do_get (iter_type in, iter_type end, ios_base& str,               ios_base::iostate& err, unsigned int& val) const;
unsigned long (5)
iter_type do_get (iter_type in, iter_type end, ios_base& str,               ios_base::iostate& err, unsigned long& val) const;
float (6)
iter_type do_get (iter_type in, iter_type end, ios_base& str,               ios_base::iostate& err, float& val) const;
double (7)
iter_type do_get (iter_type in, iter_type end, ios_base& str,               ios_base::iostate& err, double& val) const;
long double (8)
iter_type do_get (iter_type in, iter_type end, ios_base& str,               ios_base::iostate& err, long double& val) const;
pointer (9)
iter_type do_get (iter_type in, iter_type end, ios_base& str,               ios_base::iostate& err, void*& val) const;
long long (10)
iter_type do_get (iter_type in, iter_type end, ios_base& str,               ios_base::iostate& err, long long& val) const;
unsigned long long (11)
iter_type do_get (iter_type in, iter_type end, ios_base& str,               ios_base::iostate& err, unsigned long long& val) const;
获取数值 [virtual]
num_get::get 调用的虚保护成员函数,用于将字符序列解释为数值。

多态派生类可以重写此函数的行为。

有关 num_get 中的默认行为,请参见 num_get::get

另见