11 Apr
2015
11 Apr
'15
1:16 a.m.
Hi, I just noticed that boost::posix_time::duration_from_string throws std::out_of_range when I pass empty string to it. This seems like a bug, IMHO it should throw boost::bad_lexical_cast as it does for any other problem with the input. Thanks, George