Files
2025-10-25 03:02:53 +03:00

26 lines
1.3 KiB
Markdown

[locale.money.get.general]
# 28 Text processing library [[text]](./#text)
## 28.3 Localization library [[localization]](localization#locale.money.get.general)
### 28.3.4 Standard locale categories [[locale.categories]](locale.categories#locale.money.get.general)
#### 28.3.4.7 The monetary category [[category.monetary]](category.monetary#locale.money.get.general)
#### 28.3.4.7.2 Class template money_get [[locale.money.get]](locale.money.get#general)
#### 28.3.4.7.2.1 General [locale.money.get.general]
[🔗](#lib:money_get)
namespace std {template<class charT, class InputIterator = istreambuf_iterator<charT>>class money_get : public locale::facet {public:using char_type = charT; using iter_type = InputIterator; using string_type = basic_string<charT>; explicit money_get(size_t refs = 0);
iter_type get(iter_type s, iter_type end, bool intl,
ios_base& f, ios_base::iostate& err, long double& units) const;
iter_type get(iter_type s, iter_type end, bool intl,
ios_base& f, ios_base::iostate& err,
string_type& digits) const; static locale::id id; protected:~money_get(); virtual iter_type do_get(iter_type, iter_type, bool, ios_base&,
ios_base::iostate& err, long double& units) const; virtual iter_type do_get(iter_type, iter_type, bool, ios_base&,
ios_base::iostate& err, string_type& digits) const; };}