@@ -167,83 +167,95 @@ from_stream(
167
167
duration<Rep, Period>& dur, basic_string<charT, traits, Alloc>* abbrev = nullptr,
168
168
minutes* offset = nullptr);
169
169
170
+ // 3) file_time
170
171
template<class charT, class traits, class Duration, class Alloc = allocator<charT >>
171
172
basic_istream<charT, traits>&
172
173
from_stream(
173
174
basic_istream<charT, traits>& is, const charT* fmt,
174
175
file_time<Duration >& ft, basic_string<charT, traits, Alloc>* abbrev = nullptr,
175
176
minutes* offset = nullptr);
176
177
178
+ // 4) gps_time
177
179
template<class charT, class traits, class Duration, class Alloc = allocator<charT >>
178
180
basic_istream<charT, traits>&
179
181
from_stream(
180
182
basic_istream<charT, traits>& is, const charT* fmt,
181
183
gps_time<Duration >& gt, basic_string<charT, traits, Alloc>* abbrev = nullptr,
182
184
minutes* offset = nullptr);
183
185
186
+ // 5) local_time
184
187
template<class charT, class traits, class Duration, class Alloc = allocator<charT >>
185
188
basic_istream<charT, traits>&
186
189
from_stream(
187
190
basic_istream<charT, traits>& is, const charT* fmt,
188
191
local_time<Duration >& lt, basic_string<charT, traits, Alloc>* abbrev = nullptr,
189
192
minutes* offset = nullptr);
190
193
194
+ // 6) month
191
195
template<class charT, class traits, class Alloc = allocator<charT >>
192
196
basic_istream<charT, traits>&
193
197
from_stream(
194
198
basic_istream<charT, traits>& is, const charT* fmt,
195
199
month& m, basic_string<charT, traits, Alloc>* abbrev = nullptr,
196
200
minutes* offset = nullptr);
197
201
202
+ // 7) month_day
198
203
template<class charT, class traits, class Alloc = allocator<charT >>
199
204
basic_istream<charT, traits>&
200
205
from_stream(
201
206
basic_istream<charT, traits>& is, const charT* fmt,
202
207
month_day& md, basic_string<charT, traits, Alloc>* abbrev = nullptr,
203
208
minutes* offset = nullptr);
204
209
210
+ // 8) utc_time
205
211
template<class charT, class traits, class Duration, class Alloc = allocator<charT >>
206
212
basic_istream<charT, traits>&
207
213
from_stream(
208
214
basic_istream<charT, traits>& is, const charT* fmt,
209
215
utc_time<Duration >& ut, basic_string<charT, traits, Alloc>* abbrev = nullptr,
210
216
minutes* offset = nullptr);
211
217
218
+ // 9) system_time
212
219
template<class charT, class traits, class Duration, class Alloc = allocator<charT >>
213
220
basic_istream<charT, traits>&
214
221
from_stream(
215
222
basic_istream<charT, traits>& is, const charT* fmt,
216
223
system_time<Duration >& st, basic_string<charT, traits, Alloc>* abbrev = nullptr,
217
224
minutes* offset = nullptr);
218
225
226
+ // 10) tai_time
219
227
template<class charT, class traits, class Duration, class Alloc = allocator<charT >>
220
228
basic_istream<charT, traits>&
221
229
from_stream(
222
230
basic_istream<charT, traits>& is, const charT* fmt,
223
231
tai_time<Duration >& tt, basic_string<charT, traits, Alloc>* abbrev = nullptr,
224
232
minutes* offset = nullptr);
225
233
234
+ // 11) weekday
226
235
template<class charT, class traits, class Alloc = allocator<charT >>
227
236
basic_istream<charT, traits>&
228
237
from_stream(
229
238
basic_istream<charT, traits>& is, const charT* fmt,
230
239
weekday& wd, basic_string<charT, traits, Alloc>* abbrev = nullptr,
231
240
minutes* offset = nullptr);
232
241
242
+ // 12) year
233
243
template<class charT, class traits, class Alloc = allocator<charT >>
234
244
basic_istream<charT, traits>&
235
245
from_stream(
236
246
basic_istream<charT, traits>& is, const charT* fmt,
237
247
year& y, basic_string<charT, traits, Alloc>* abbrev = nullptr,
238
248
minutes* offset = nullptr);
239
249
250
+ // 12) year_month
240
251
template<class charT, class traits, class Alloc = allocator<charT >>
241
252
basic_istream<charT, traits>&
242
253
from_stream(
243
254
basic_istream<charT, traits>& is, const charT* fmt,
244
255
year_month& ym, basic_string<charT, traits, Alloc>* abbrev = nullptr,
245
256
minutes* offset = nullptr);
246
257
258
+ // 13) year_month_day
247
259
template<class charT, class traits, class Alloc = allocator<charT >>
248
260
basic_istream<charT, traits>&
249
261
from_stream(
0 commit comments