template<typename_CharT,typename_OutIter>_OutIterstd::num_put<_CharT,_OutIter>::do_put(iter_type__s,ios_base&__io,char_type__fill,bool__v)const[protected],[virtual]
Numeric formatting. These functions do the work of formatting numeric values and inserting them into a
stream. This function is a hook for derived classes to change the value returned.
Parameters__s Stream to write to.
__io Source of locale and flags.
__fill Char_type to use for filling.
__v Value to format and insert.
Returns
Iterator after writing.
References std::ios_base::adjustfield, std::ios_base::boolalpha, and std::ios_base::left.
Referenced by std::num_put<_CharT,_OutIter>::put(), std::num_put<_CharT,_OutIter>::put(),
std::num_put<_CharT,_OutIter>::put(), std::num_put<_CharT,_OutIter>::put(), std::num_put<_CharT,_OutIter>::put(), std::num_put<_CharT,_OutIter>::put(), std::num_put<_CharT,_OutIter>::put(), and
std::num_put<_CharT,_OutIter>::put().
template<typename_CharT,typename_OutIter>virtualiter_typestd::num_put<_CharT,_OutIter>::do_put(iter_type__s,ios_base&__io,char_type__fill,long__v)const[inline],[protected],[virtual]
Numeric formatting. These functions do the work of formatting numeric values and inserting them into a
stream. This function is a hook for derived classes to change the value returned.
Parameters__s Stream to write to.
__io Source of locale and flags.
__fill Char_type to use for filling.
__v Value to format and insert.
Returns
Iterator after writing.
template<typename_CharT,typename_OutIter>virtualiter_typestd::num_put<_CharT,_OutIter>::do_put(iter_type__s,ios_base&__io,char_type__fill,longlong__v)const[inline],[protected],[virtual]
Numeric formatting. These functions do the work of formatting numeric values and inserting them into a
stream. This function is a hook for derived classes to change the value returned.
Parameters__s Stream to write to.
__io Source of locale and flags.
__fill Char_type to use for filling.
__v Value to format and insert.
Returns
Iterator after writing.
template<typename_CharT,typename_OutIter>virtualiter_typestd::num_put<_CharT,_OutIter>::do_put(iter_type__s,ios_base&__io,char_type__fill,unsignedlong__v)const[inline],[protected],[virtual]
Numeric formatting. These functions do the work of formatting numeric values and inserting them into a
stream. This function is a hook for derived classes to change the value returned.
Parameters__s Stream to write to.
__io Source of locale and flags.
__fill Char_type to use for filling.
__v Value to format and insert.
Returns
Iterator after writing.
template<typename_CharT,typename_OutIter>virtualiter_typestd::num_put<_CharT,_OutIter>::do_put(iter_type__s,ios_base&__io,char_type__fill,unsignedlonglong__v)const[inline],[protected],[virtual]
Numeric formatting. These functions do the work of formatting numeric values and inserting them into a
stream. This function is a hook for derived classes to change the value returned.
Parameters__s Stream to write to.
__io Source of locale and flags.
__fill Char_type to use for filling.
__v Value to format and insert.
Returns
Iterator after writing.
template<typename_CharT,typename_OutIter>_OutIterstd::num_put<_CharT,_OutIter>::do_put(iter_type__s,ios_base&__io,char_type__fill,constvoid*__v)const[protected],[virtual]
Numeric formatting. These functions do the work of formatting numeric values and inserting them into a
stream. This function is a hook for derived classes to change the value returned.
Parameters__s Stream to write to.
__io Source of locale and flags.
__fill Char_type to use for filling.
__v Value to format and insert.
Returns
Iterator after writing.
References std::ios_base::basefield, std::ios_base::hex, std::ios_base::showbase, and
std::ios_base::uppercase.
template<typename_CharT,typename_OutIter>_OutIterstd::num_put<_CharT,_OutIter>::do_put(iter_type__s,ios_base&__io,char_type__fill,double__v)const[protected],[virtual]
Numeric formatting. These functions do the work of formatting numeric values and inserting them into a
stream. This function is a hook for derived classes to change the value returned.
Parameters__s Stream to write to.
__io Source of locale and flags.
__fill Char_type to use for filling.
__v Value to format and insert.
Returns
Iterator after writing.
template<typename_CharT,typename_OutIter>_OutIterstd::num_put<_CharT,_OutIter>::do_put(iter_type__s,ios_base&__io,char_type__fill,longdouble__v)const[protected],[virtual]
Numeric formatting. These functions do the work of formatting numeric values and inserting them into a
stream. This function is a hook for derived classes to change the value returned.
Parameters__s Stream to write to.
__io Source of locale and flags.
__fill Char_type to use for filling.
__v Value to format and insert.
Returns
Iterator after writing.
template<typename_CharT,typename_OutIter>iter_typestd::num_put<_CharT,_OutIter>::put(iter_type__s,ios_base&__io,char_type__fill,bool__v)const[inline]
Numeric formatting. Formats the boolean v and inserts it into a stream. It does so by calling
num_put::do_put().
If ios_base::boolalpha is set, writes ctype<CharT>::truename() or ctype<CharT>::falsename(). Otherwise
formats v as an int.
Parameters__s Stream to write to.
__io Source of locale and flags.
__fill Char_type to use for filling.
__v Value to format and insert.
Returns
Iterator after writing.
References std::num_put<_CharT,_OutIter>::do_put().
template<typename_CharT,typename_OutIter>iter_typestd::num_put<_CharT,_OutIter>::put(iter_type__s,ios_base&__io,char_type__fill,constvoid*__v)const[inline]
Numeric formatting. Formats the pointer value v and inserts it into a stream. It does so by calling
num_put::do_put().
This function formats v as an unsigned long with ios_base::hex and ios_base::showbase set.
Parameters__s Stream to write to.
__io Source of locale and flags.
__fill Char_type to use for filling.
__v Value to format and insert.
Returns
Iterator after writing.
References std::num_put<_CharT,_OutIter>::do_put().
template<typename_CharT,typename_OutIter>iter_typestd::num_put<_CharT,_OutIter>::put(iter_type__s,ios_base&__io,char_type__fill,double__v)const[inline]
Numeric formatting. Formats the floating point value v and inserts it into a stream. It does so by
calling num_put::do_put().
Formatting is affected by the flag settings in io.
The basic format is affected by the value of io.flags() & ios_base::floatfield. If equal to
ios_base::fixed, formats like the printf f specifier. Else if equal to ios_base::scientific, formats like
e or E with ios_base::uppercase unset or set respectively. Otherwise, formats like g or G depending on
uppercase. Note that if both fixed and scientific are set, the effect will also be like g or G.
The output precision is given by io.precision(). This precision is capped at numeric_limits::digits10 + 2
(different for double and long double). The default precision is 6.
If ios_base::showpos is set, '+' is output before positive values. If ios_base::showpoint is set, a
decimal point will always be output.
The decimal point character used is numpunct::decimal_point(). Thousands separators are inserted
according to numpunct::grouping() and numpunct::thousands_sep().
If io.width() is non-zero, enough fill characters are inserted to make the result at least that wide. If
(io.flags() & ios_base::adjustfield) == ios_base::left, result is padded at the end. If
ios_base::internal, then padding occurs immediately after either a '+' or '-' or after '0x' or '0X'.
Otherwise, padding occurs at the beginning.
Parameters__s Stream to write to.
__io Source of locale and flags.
__fill Char_type to use for filling.
__v Value to format and insert.
Returns
Iterator after writing.
References std::num_put<_CharT,_OutIter>::do_put().
template<typename_CharT,typename_OutIter>iter_typestd::num_put<_CharT,_OutIter>::put(iter_type__s,ios_base&__io,char_type__fill,long__v)const[inline]
Numeric formatting. Formats the integral value v and inserts it into a stream. It does so by calling
num_put::do_put().
Formatting is affected by the flag settings in io.
The basic format is affected by the value of io.flags() & ios_base::basefield. If equal to ios_base::oct,
formats like the printf o specifier. Else if equal to ios_base::hex, formats like x or X with
ios_base::uppercase unset or set respectively. Otherwise, formats like d, ld, lld for signed and u, lu,
llu for unsigned values. Note that if both oct and hex are set, neither will take effect.
If ios_base::showpos is set, '+' is output before positive values. If ios_base::showbase is set, '0'
precedes octal values (except 0) and '0[xX]' precedes hex values.
The decimal point character used is numpunct::decimal_point(). Thousands separators are inserted
according to numpunct::grouping() and numpunct::thousands_sep().
If io.width() is non-zero, enough fill characters are inserted to make the result at least that wide. If
(io.flags() & ios_base::adjustfield) == ios_base::left, result is padded at the end. If
ios_base::internal, then padding occurs immediately after either a '+' or '-' or after '0x' or '0X'.
Otherwise, padding occurs at the beginning.
Parameters__s Stream to write to.
__io Source of locale and flags.
__fill Char_type to use for filling.
__v Value to format and insert.
Returns
Iterator after writing.
References std::num_put<_CharT,_OutIter>::do_put().
template<typename_CharT,typename_OutIter>iter_typestd::num_put<_CharT,_OutIter>::put(iter_type__s,ios_base&__io,char_type__fill,longdouble__v)const[inline]
Numeric formatting. Formats the floating point value v and inserts it into a stream. It does so by
calling num_put::do_put().
Formatting is affected by the flag settings in io.
The basic format is affected by the value of io.flags() & ios_base::floatfield. If equal to
ios_base::fixed, formats like the printf f specifier. Else if equal to ios_base::scientific, formats like
e or E with ios_base::uppercase unset or set respectively. Otherwise, formats like g or G depending on
uppercase. Note that if both fixed and scientific are set, the effect will also be like g or G.
The output precision is given by io.precision(). This precision is capped at numeric_limits::digits10 + 2
(different for double and long double). The default precision is 6.
If ios_base::showpos is set, '+' is output before positive values. If ios_base::showpoint is set, a
decimal point will always be output.
The decimal point character used is numpunct::decimal_point(). Thousands separators are inserted
according to numpunct::grouping() and numpunct::thousands_sep().
If io.width() is non-zero, enough fill characters are inserted to make the result at least that wide. If
(io.flags() & ios_base::adjustfield) == ios_base::left, result is padded at the end. If
ios_base::internal, then padding occurs immediately after either a '+' or '-' or after '0x' or '0X'.
Otherwise, padding occurs at the beginning.
Parameters__s Stream to write to.
__io Source of locale and flags.
__fill Char_type to use for filling.
__v Value to format and insert.
Returns
Iterator after writing.
References std::num_put<_CharT,_OutIter>::do_put().
template<typename_CharT,typename_OutIter>iter_typestd::num_put<_CharT,_OutIter>::put(iter_type__s,ios_base&__io,char_type__fill,longlong__v)const[inline]
Numeric formatting. Formats the integral value v and inserts it into a stream. It does so by calling
num_put::do_put().
Formatting is affected by the flag settings in io.
The basic format is affected by the value of io.flags() & ios_base::basefield. If equal to ios_base::oct,
formats like the printf o specifier. Else if equal to ios_base::hex, formats like x or X with
ios_base::uppercase unset or set respectively. Otherwise, formats like d, ld, lld for signed and u, lu,
llu for unsigned values. Note that if both oct and hex are set, neither will take effect.
If ios_base::showpos is set, '+' is output before positive values. If ios_base::showbase is set, '0'
precedes octal values (except 0) and '0[xX]' precedes hex values.
The decimal point character used is numpunct::decimal_point(). Thousands separators are inserted
according to numpunct::grouping() and numpunct::thousands_sep().
If io.width() is non-zero, enough fill characters are inserted to make the result at least that wide. If
(io.flags() & ios_base::adjustfield) == ios_base::left, result is padded at the end. If
ios_base::internal, then padding occurs immediately after either a '+' or '-' or after '0x' or '0X'.
Otherwise, padding occurs at the beginning.
Parameters__s Stream to write to.
__io Source of locale and flags.
__fill Char_type to use for filling.
__v Value to format and insert.
Returns
Iterator after writing.
References std::num_put<_CharT,_OutIter>::do_put().
template<typename_CharT,typename_OutIter>iter_typestd::num_put<_CharT,_OutIter>::put(iter_type__s,ios_base&__io,char_type__fill,unsignedlong__v)const[inline]
Numeric formatting. Formats the integral value v and inserts it into a stream. It does so by calling
num_put::do_put().
Formatting is affected by the flag settings in io.
The basic format is affected by the value of io.flags() & ios_base::basefield. If equal to ios_base::oct,
formats like the printf o specifier. Else if equal to ios_base::hex, formats like x or X with
ios_base::uppercase unset or set respectively. Otherwise, formats like d, ld, lld for signed and u, lu,
llu for unsigned values. Note that if both oct and hex are set, neither will take effect.
If ios_base::showpos is set, '+' is output before positive values. If ios_base::showbase is set, '0'
precedes octal values (except 0) and '0[xX]' precedes hex values.
The decimal point character used is numpunct::decimal_point(). Thousands separators are inserted
according to numpunct::grouping() and numpunct::thousands_sep().
If io.width() is non-zero, enough fill characters are inserted to make the result at least that wide. If
(io.flags() & ios_base::adjustfield) == ios_base::left, result is padded at the end. If
ios_base::internal, then padding occurs immediately after either a '+' or '-' or after '0x' or '0X'.
Otherwise, padding occurs at the beginning.
Parameters__s Stream to write to.
__io Source of locale and flags.
__fill Char_type to use for filling.
__v Value to format and insert.
Returns
Iterator after writing.
References std::num_put<_CharT,_OutIter>::do_put().
template<typename_CharT,typename_OutIter>iter_typestd::num_put<_CharT,_OutIter>::put(iter_type__s,ios_base&__io,char_type__fill,unsignedlonglong__v)const[inline]
Numeric formatting. Formats the integral value v and inserts it into a stream. It does so by calling
num_put::do_put().
Formatting is affected by the flag settings in io.
The basic format is affected by the value of io.flags() & ios_base::basefield. If equal to ios_base::oct,
formats like the printf o specifier. Else if equal to ios_base::hex, formats like x or X with
ios_base::uppercase unset or set respectively. Otherwise, formats like d, ld, lld for signed and u, lu,
llu for unsigned values. Note that if both oct and hex are set, neither will take effect.
If ios_base::showpos is set, '+' is output before positive values. If ios_base::showbase is set, '0'
precedes octal values (except 0) and '0[xX]' precedes hex values.
The decimal point character used is numpunct::decimal_point(). Thousands separators are inserted
according to numpunct::grouping() and numpunct::thousands_sep().
If io.width() is non-zero, enough fill characters are inserted to make the result at least that wide. If
(io.flags() & ios_base::adjustfield) == ios_base::left, result is padded at the end. If
ios_base::internal, then padding occurs immediately after either a '+' or '-' or after '0x' or '0X'.
Otherwise, padding occurs at the beginning.
Parameters__s Stream to write to.
__io Source of locale and flags.
__fill Char_type to use for filling.
__v Value to format and insert.
Returns
Iterator after writing.
References std::num_put<_CharT,_OutIter>::do_put().