Skip to content

Commit 2d8f0b1

Browse files
author
Colin Robertson
committed
Add from_stream ordinals
1 parent 56cc1a6 commit 2d8f0b1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/standard-library/chrono-functions.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,83 +167,95 @@ from_stream(
167167
duration<Rep, Period>& dur, basic_string<charT, traits, Alloc>* abbrev = nullptr,
168168
minutes* offset = nullptr);
169169

170+
// 3) file_time
170171
template<class charT, class traits, class Duration, class Alloc = allocator<charT>>
171172
basic_istream<charT, traits>&
172173
from_stream(
173174
basic_istream<charT, traits>& is, const charT* fmt,
174175
file_time<Duration>& ft, basic_string<charT, traits, Alloc>* abbrev = nullptr,
175176
minutes* offset = nullptr);
176177

178+
// 4) gps_time
177179
template<class charT, class traits, class Duration, class Alloc = allocator<charT>>
178180
basic_istream<charT, traits>&
179181
from_stream(
180182
basic_istream<charT, traits>& is, const charT* fmt,
181183
gps_time<Duration>& gt, basic_string<charT, traits, Alloc>* abbrev = nullptr,
182184
minutes* offset = nullptr);
183185

186+
// 5) local_time
184187
template<class charT, class traits, class Duration, class Alloc = allocator<charT>>
185188
basic_istream<charT, traits>&
186189
from_stream(
187190
basic_istream<charT, traits>& is, const charT* fmt,
188191
local_time<Duration>& lt, basic_string<charT, traits, Alloc>* abbrev = nullptr,
189192
minutes* offset = nullptr);
190193

194+
// 6) month
191195
template<class charT, class traits, class Alloc = allocator<charT>>
192196
basic_istream<charT, traits>&
193197
from_stream(
194198
basic_istream<charT, traits>& is, const charT* fmt,
195199
month& m, basic_string<charT, traits, Alloc>* abbrev = nullptr,
196200
minutes* offset = nullptr);
197201

202+
// 7) month_day
198203
template<class charT, class traits, class Alloc = allocator<charT>>
199204
basic_istream<charT, traits>&
200205
from_stream(
201206
basic_istream<charT, traits>& is, const charT* fmt,
202207
month_day& md, basic_string<charT, traits, Alloc>* abbrev = nullptr,
203208
minutes* offset = nullptr);
204209

210+
// 8) utc_time
205211
template<class charT, class traits, class Duration, class Alloc = allocator<charT>>
206212
basic_istream<charT, traits>&
207213
from_stream(
208214
basic_istream<charT, traits>& is, const charT* fmt,
209215
utc_time<Duration>& ut, basic_string<charT, traits, Alloc>* abbrev = nullptr,
210216
minutes* offset = nullptr);
211217

218+
// 9) system_time
212219
template<class charT, class traits, class Duration, class Alloc = allocator<charT>>
213220
basic_istream<charT, traits>&
214221
from_stream(
215222
basic_istream<charT, traits>& is, const charT* fmt,
216223
system_time<Duration>& st, basic_string<charT, traits, Alloc>* abbrev = nullptr,
217224
minutes* offset = nullptr);
218225

226+
// 10) tai_time
219227
template<class charT, class traits, class Duration, class Alloc = allocator<charT>>
220228
basic_istream<charT, traits>&
221229
from_stream(
222230
basic_istream<charT, traits>& is, const charT* fmt,
223231
tai_time<Duration>& tt, basic_string<charT, traits, Alloc>* abbrev = nullptr,
224232
minutes* offset = nullptr);
225233

234+
// 11) weekday
226235
template<class charT, class traits, class Alloc = allocator<charT>>
227236
basic_istream<charT, traits>&
228237
from_stream(
229238
basic_istream<charT, traits>& is, const charT* fmt,
230239
weekday& wd, basic_string<charT, traits, Alloc>* abbrev = nullptr,
231240
minutes* offset = nullptr);
232241

242+
// 12) year
233243
template<class charT, class traits, class Alloc = allocator<charT>>
234244
basic_istream<charT, traits>&
235245
from_stream(
236246
basic_istream<charT, traits>& is, const charT* fmt,
237247
year& y, basic_string<charT, traits, Alloc>* abbrev = nullptr,
238248
minutes* offset = nullptr);
239249

250+
// 12) year_month
240251
template<class charT, class traits, class Alloc = allocator<charT>>
241252
basic_istream<charT, traits>&
242253
from_stream(
243254
basic_istream<charT, traits>& is, const charT* fmt,
244255
year_month& ym, basic_string<charT, traits, Alloc>* abbrev = nullptr,
245256
minutes* offset = nullptr);
246257

258+
// 13) year_month_day
247259
template<class charT, class traits, class Alloc = allocator<charT>>
248260
basic_istream<charT, traits>&
249261
from_stream(

0 commit comments

Comments
 (0)