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