
29 Jul
2006
29 Jul
'06
5:23 p.m.
On Fri, 28 Jul 2006 19:29:34 -0400, "Joe Gottman" <jgottman@carolina.rr.com> 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 ]