Files
cppdraft_translate/cppdraft/locale/money/put/general.md
2025-10-25 03:02:53 +03:00

23 lines
1.2 KiB
Markdown

[locale.money.put.general]
# 28 Text processing library [[text]](./#text)
## 28.3 Localization library [[localization]](localization#locale.money.put.general)
### 28.3.4 Standard locale categories [[locale.categories]](locale.categories#locale.money.put.general)
#### 28.3.4.7 The monetary category [[category.monetary]](category.monetary#locale.money.put.general)
#### 28.3.4.7.3 Class template money_put [[locale.money.put]](locale.money.put#general)
#### 28.3.4.7.3.1 General [locale.money.put.general]
[🔗](#lib:money_put)
namespace std {template<class charT, class OutputIterator = ostreambuf_iterator<charT>>class money_put : public locale::facet {public:using char_type = charT; using iter_type = OutputIterator; using string_type = basic_string<charT>; explicit money_put(size_t refs = 0);
iter_type put(iter_type s, bool intl, ios_base& f,
char_type fill, long double units) const;
iter_type put(iter_type s, bool intl, ios_base& f,
char_type fill, const string_type& digits) const; static locale::id id; protected:~money_put(); virtual iter_type do_put(iter_type, bool, ios_base&, char_type fill, long double units) const; virtual iter_type do_put(iter_type, bool, ios_base&, char_type fill, const string_type& digits) const; };}