![]() |
Boost : |
From: Mark Van Dijk (Mark.VanDijk_at_[hidden])
Date: 2007-12-10 14:50:50
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?
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk