template <class charT, class OutputIterator = ostreambuf_iterator<charT> > class money_put;
| locale 对象中的 Facets | 说明 |
|---|---|
money_put<char> | 窄字符,用于 ostream 迭代器 |
money_put<wchar_t> | 宽字符,用于 wostream 迭代器 |
| 成员类型 | 定义 | 描述 |
|---|---|---|
| char_type | 第一个模板参数(charT) | 字符类型 |
| iter_type | 第二个模板参数(OutputIterator) | 迭代器类型。 默认为 ostreambuf_iterator<charT> |
| string_type | basic_string<charT> | 与字符类型对应的字符串类型 |
| 特化 |
|---|
money_put<char> |
money_put<wchar_t> |
template <class OutputIterator> money_put<char,OutputIterator> |
template <class OutputIterator> money_put<wchar_t,OutputIterator> |