|
Boost : |
From: Emil Dotchevski (emil_at_[hidden])
Date: 2007-10-20 19:14:31
On 10/19/07, Josh Napoli <jnapoli_at_[hidden]> wrote:
> <snip>
> throw exception() << "The frobknob is out of range: its value is " <<
> error_info<value_tag>(value)<< " but the maximum value is " << max;
Why not throw a std::ostringstream directly then? :)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk