11 Apr
2015
11 Apr
'15
6:37 a.m.
On Fri, Apr 10, 2015 at 6:16 PM, George Georgiev < george.georgiev.sf@gmail.com> wrote:
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.
Please file a bug against boost date_time at https://svn.boost.org/trac/boost/newticket
Feel free to assign it to me -- Marshall