|
Boost : |
From: Frank Laub (frank.laub_at_[hidden])
Date: 2005-12-22 05:50:03
On 12/22/05, Richard Jennings <richard.jennings_at_[hidden]> wrote:
>
> [snip]
> A possible solution is to do a cast:
> return optional_value(static_cast<value_type>(0));
>
> This only happens for the zero value, other values are fine.
Can you verify that this is the fix for your compiler? I can't get this to
repro with the ones I have. If it does work, I'll make sure the latest rev
has this fix in it.
-Frank
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk