64 lines
2.2 KiB
Markdown
64 lines
2.2 KiB
Markdown
[locale.time.put.virtuals]
|
|
|
|
# 28 Text processing library [[text]](./#text)
|
|
|
|
## 28.3 Localization library [[localization]](localization#locale.time.put.virtuals)
|
|
|
|
### 28.3.4 Standard locale categories [[locale.categories]](locale.categories#locale.time.put.virtuals)
|
|
|
|
#### 28.3.4.6 The time category [[category.time]](category.time#locale.time.put.virtuals)
|
|
|
|
#### 28.3.4.6.4 Class template time_put [[locale.time.put]](locale.time.put#virtuals)
|
|
|
|
#### 28.3.4.6.4.3 Virtual functions [locale.time.put.virtuals]
|
|
|
|
[ð](#lib:time_put,do_put)
|
|
|
|
`iter_type do_put(iter_type s, ios_base&, char_type fill, const tm* t,
|
|
char format, char modifier) const;
|
|
`
|
|
|
|
[1](#1)
|
|
|
|
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L4054)
|
|
|
|
*Effects*: Formats the contents of the parameter t into characters placed on the output sequence s[.](#1.sentence-1)
|
|
|
|
Formatting is controlled by the parameters format and modifier,
|
|
interpreted identically as the format specifiers
|
|
in the string argument to the standard library functionstrftime(),
|
|
except that the sequence of characters produced for those specifiers
|
|
that are described as depending on the C locale
|
|
are insteadimplementation-defined[.](#1.sentence-2)
|
|
|
|
[*Note [1](#note-1)*:
|
|
|
|
Interpretation of the modifier argument is implementation-defined[.](#1.sentence-3)
|
|
|
|
â *end note*]
|
|
|
|
[2](#2)
|
|
|
|
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L4072)
|
|
|
|
*Returns*: An iterator pointing immediately after the last character produced[.](#2.sentence-1)
|
|
|
|
[*Note [2](#note-2)*:
|
|
|
|
The fill argument can be used
|
|
in the implementation-defined formats or by derivations[.](#2.sentence-2)
|
|
|
|
A space character is a reasonable default for this argument[.](#2.sentence-3)
|
|
|
|
â *end note*]
|
|
|
|
[3](#3)
|
|
|
|
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L4081)
|
|
|
|
*Recommended practice*: Interpretation of the modifier should follow POSIX conventions[.](#3.sentence-1)
|
|
|
|
Implementations should refer to other standards such as POSIX
|
|
for a specification of the character sequences produced for
|
|
those specifiers described as depending on the C locale[.](#3.sentence-2)
|