time_put Class

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

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

参数

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

  • OutputIterator
    迭代器时将函数放到其中的类型将其输出写入。

备注

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

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

time_put

类型的对象的构造函数time_put

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

char_type

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

iter_type

描述输出迭代器的类型。

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

do_put

虚函数的输出为一系列的日期和时间信息CharTypes。

放置

输出为一系列的日期和时间信息CharTypes。

要求

标题: <locale>

命名空间: 标准

请参见

参考

time_base Class

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

其他资源

time_put 成员

locale 成员