tmp/tmpx4k_kigt/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
###### General <a id="locale.money.get.general">[[locale.money.get.general]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
namespace std {
|
| 5 |
+
template<class charT, class InputIterator = istreambuf_iterator<charT>>
|
| 6 |
+
class money_get : public locale::facet {
|
| 7 |
+
public:
|
| 8 |
+
using char_type = charT;
|
| 9 |
+
using iter_type = InputIterator;
|
| 10 |
+
using string_type = basic_string<charT>;
|
| 11 |
+
|
| 12 |
+
explicit money_get(size_t refs = 0);
|
| 13 |
+
|
| 14 |
+
iter_type get(iter_type s, iter_type end, bool intl,
|
| 15 |
+
ios_base& f, ios_base::iostate& err,
|
| 16 |
+
long double& units) const;
|
| 17 |
+
iter_type get(iter_type s, iter_type end, bool intl,
|
| 18 |
+
ios_base& f, ios_base::iostate& err,
|
| 19 |
+
string_type& digits) const;
|
| 20 |
+
|
| 21 |
+
static locale::id id;
|
| 22 |
+
|
| 23 |
+
protected:
|
| 24 |
+
~money_get();
|
| 25 |
+
virtual iter_type do_get(iter_type, iter_type, bool, ios_base&,
|
| 26 |
+
ios_base::iostate& err, long double& units) const;
|
| 27 |
+
virtual iter_type do_get(iter_type, iter_type, bool, ios_base&,
|
| 28 |
+
ios_base::iostate& err, string_type& digits) const;
|
| 29 |
+
};
|
| 30 |
+
}
|
| 31 |
+
```
|
| 32 |
+
|