
10 Dec
2007
10 Dec
'07
7:50 p.m.
The following code snippet produces an ASSERT on my machine running WinXP (sp2) with VS8 (sp1) with boost v1.34.1: boost::posix_time::time_duration t(24, 0, 0); std::cout << t << std::end; The assertion occurs because there is a check in the underlying CRT that verifies the hours portion is between 0 and 23 inclusive. Is this something that might be fixed in boost 1.35?