|
Boost : |
From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2006-07-29 13:23:11
On Fri, 28 Jul 2006 19:29:34 -0400, "Joe Gottman"
<jgottman_at_[hidden]> wrote:
> When I compile lexical_cast.hpp using MSVC 03 I get a spurious warning:
>
> warning C4701: local variable 'result' may be used without having been
>initialized.
The code can easily be rewritten in terms of nested if-s, with the
arguable benefit that a Target instance would be constructed only if
interpreter << arg succeeded. Apart from that marginal gain, the point
is whether we want to support the insane VC 7.1 warning level 4.
-- [ Gennaro Prota, C++ developer for hire ]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk