[boost-users][DateTime] crash with time_duration
8 Sep
2008
8 Sep
'08
6:31 p.m.
Hi, The following code crashes (MSVC2005, boost1.36): //.... time_duration td = hours(25); cout << td; It seems that operator <<() uses to_tm() function, and the latter sets tm_hour = 25, which causes an assertion in CRT _expandtime() and program termination. Is this desired behavior / known issue / unknown bug? Thanks, Igor'.
5923
Age (days ago)
5923
Last active (days ago)
0 comments
1 participants
participants (1)
-
Igor R