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'.