date-time library and checked iterators

Dear all,
last week we switched to vstudio 2008. It has checked iterator support and it
already catched two incorrect (but probably also harmless) uses of iterators.
Maybe in the date time library there is also such a case.
The stream operator on ptime eventually calls date_time::date_facet::do_put_tm
() function which probably uses an incorrect way of dereferencing string
iterators when empty:
// use time_put facet to create final string
return std::use_facet
participants (1)
-
gast128