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

std::std::num_put::do_put

iter_type do_put (iter_type out, ios_base& str, char_type fill, bool val) const;iter_type do_put (iter_type out, ios_base& str, char_type fill, long val) const;iter_type do_put (iter_type out, ios_base& str, char_type fill, unsigned long val) const;iter_type do_put (iter_type out, ios_base& str, char_type fill, double val) const;iter_type do_put (iter_type out, ios_base& str, char_type fill, long double val) const;iter_type do_put (iter_type out, ios_base& str, char_type fill, const void* val) const;
iter_type do_put (iter_type out, ios_base& str, char_type fill, bool val) const;iter_type do_put (iter_type out, ios_base& str, char_type fill, long val) const;iter_type do_put (iter_type out, ios_base& str, char_type fill, unsigned long val) const;iter_type do_put (iter_type out, ios_base& str, char_type fill, double val) const;iter_type do_put (iter_type out, ios_base& str, char_type fill, long double val) const;iter_type do_put (iter_type out, ios_base& str, char_type fill, const void* val) const;iter_type do_put (iter_type out, ios_base& str, char_type fill, long long val) const;iter_type do_put (iter_type out, ios_base& str, char_type fill, unsigned long long val) const;
输出数值 [虚函数]
用于解释字符序列为数值的虚保护成员函数,由 num_put::put 调用。

多态派生类可以覆盖此函数的行为。

有关其在 num_put 中的默认行为,请参见 num_put::put

另见