共用方式為


numpunct::do_truename

A protected virtual member function that is called to return a string to use as a text representation of the value true.

virtual string_type do_truename( ) const;

Remarks

A string to use as a text representation of the value true.

All locales return a string "true" to represent the value true.

Example

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

Requirements

Header: <locale>

Namespace: std

See Also

Reference

numpunct Class

Other Resources

numpunct Members