[locale.time.put.general]

# 28 Text processing library [[text]](./#text)

## 28.3 Localization library [[localization]](localization#locale.time.put.general)

### 28.3.4 Standard locale categories [[locale.categories]](locale.categories#locale.time.put.general)

#### 28.3.4.6 The time category [[category.time]](category.time#locale.time.put.general)

#### 28.3.4.6.4 Class template time_put [[locale.time.put]](locale.time.put#general)

#### 28.3.4.6.4.1 General [locale.time.put.general]

[ð](#lib:time_put)

namespace std {template<class charT, class OutputIterator = ostreambuf_iterator<charT>>class time_put : public locale::facet {public:using char_type = charT; using iter_type = OutputIterator; explicit time_put(size_t refs = 0); // the following is implemented in terms of other member functions. iter_type put(iter_type s, ios_base& f, char_type fill, const tm* tmb, const charT* pattern, const charT* pat_end) const;
 iter_type put(iter_type s, ios_base& f, char_type fill, const tm* tmb, char format, char modifier = 0) const; static locale::id id; protected:~time_put(); virtual iter_type do_put(iter_type s, ios_base&, char_type, const tm* t, char format, char modifier) const; };}
