numpunct::do_grouping

A protected virtual member function that is called to return a locale-specific rule for determining how digits are grouped to the left of any decimal point.

virtual string do_grouping( ) const;

Return Value

A locale-specific rule for determining how digits are grouped to the left of any decimal point.

Remarks

The protected virtual member function returns a locale-specific rule for determining how digits are grouped to the left of any decimal point. The encoding is the same as for lconv::grouping.

Example

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

Requirements

Header: <locale>

Namespace: std

See Also

Reference

numpunct Class

Other Resources

numpunct Members