money_put Class

模板类描述一个对象,它可以作为货币值的序列的类型的控件转换为区域设置方面 CharType

template<
   class CharType, 
   class OutputIterator = ostreambuf_iterator<CharType> 
> 
class money_put : public locale::facet

参数

  • CharType
    在程序中使用区域设置中的字符进行编码的类型。

  • OutputIterator
    迭代器的货币将函数的类型将其输出写入。

备注

与任何区域设置方面外,静态对象 ID 具有的初始存储的值为 0。 首次试图访问其存储的值存储在唯一正值 id。

t9cbch5w.collapse_all(zh-cn,VS.110).gif构造函数

money_put

类型的对象的构造函数money_put

t9cbch5w.collapse_all(zh-cn,VS.110).gifTypedef

char_type

由区域设置用来描述使用的字符的类型。

iter_type

描述输出迭代器的类型。

string_type

描述包含类型的字符的字符串类型CharType

t9cbch5w.collapse_all(zh-cn,VS.110).gif成员函数

do_put

虚函数调用以将数字或字符串转换为表示货币值的字符序列。

放置

将数字或字符串转换为表示货币值的字符序列。

要求

标题: <locale>

命名空间: 标准

请参见

参考

facet Class

线程安全性对标准C++库中

其他资源

money_put 成员

locale 成员