|
Boost : |
From: Steven Watanabe (steven_at_[hidden])
Date: 2007-02-03 17:02:12
AMDG
Andrey Semashev <andysem <at> mail.ru> writes:
> And maybe a good idea is to pass an actual value that triggered the default
> handler in the exception object.
>
Do you think I should store the value as an integer
or lexical_cast it to a string and pass it to the
constructor of std::runtime_error? If I store it as
an integer, no matter what type I use, it could
overflow.
In Christ,
Steven Watanabe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk