|
Boost Users : |
From: Simon Buchan (simon_at_[hidden])
Date: 2005-10-27 01:18:12
Jeff Garland wrote:
<snip>
> That said, I am concerned that the program crashed -- that doesn't sound like
> desireable behavior. I suspect the reason has something to do with the fact
> that the string you are passing doesn't have any valid strings to parse --
> something I'm pretty sure we don't test. Anyway, I'll put that on the todo
> list to add a test and better specify the behavior related to completely
> invalid format strings. It probably would be nice to have an exception in
> this case...
>
> Jeff
>
> Jeff
(yes, I heard you already :-)
This seems like a job for assert to me, unless you expect user-input to
be used in the format string somehow?
-- don't quote this
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net