tmp/tmp96nuhukd/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
###### General <a id="locale.time.put.general">[[locale.time.put.general]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
namespace std {
|
| 5 |
+
template<class charT, class OutputIterator = ostreambuf_iterator<charT>>
|
| 6 |
+
class time_put : public locale::facet {
|
| 7 |
+
public:
|
| 8 |
+
using char_type = charT;
|
| 9 |
+
using iter_type = OutputIterator;
|
| 10 |
+
|
| 11 |
+
explicit time_put(size_t refs = 0);
|
| 12 |
+
|
| 13 |
+
// the following is implemented in terms of other member functions.
|
| 14 |
+
iter_type put(iter_type s, ios_base& f, char_type fill, const tm* tmb,
|
| 15 |
+
const charT* pattern, const charT* pat_end) const;
|
| 16 |
+
iter_type put(iter_type s, ios_base& f, char_type fill,
|
| 17 |
+
const tm* tmb, char format, char modifier = 0) const;
|
| 18 |
+
|
| 19 |
+
static locale::id id;
|
| 20 |
+
|
| 21 |
+
protected:
|
| 22 |
+
~time_put();
|
| 23 |
+
virtual iter_type do_put(iter_type s, ios_base&, char_type, const tm* t,
|
| 24 |
+
char format, char modifier) const;
|
| 25 |
+
};
|
| 26 |
+
}
|
| 27 |
+
```
|
| 28 |
+
|