共用方式為


numpunct::do_thousands_sep

A protected virtual member function that is called to return a locale-specific element to use as a thousands separator.

virtual CharType do_thousands_sep( ) const;

Return Value

Returns a locale-specific element to use as a thousands separator.

Remarks

The protected virtual member function returns a locale-specific element of type CharType to use as a group separator to the left of any decimal point.

Example

See the example for thousands_sep, where the virtual member function is called by thousands_sep.

Requirements

Header: <locale>

Namespace: std

See Also

Reference

numpunct Class

Other Resources

numpunct Members