From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2006-09-05 13:05:52
On Fri, 1 Sep 2006 15:26:11 -0700, "Gregory Dai"
>Well, I don't have definitive proof, but that's possible from my experience.
>E.g., we have many classes with ctors like this: ctor(..., std::string
>const& s = std::string());
>More than a few developers had such experience that a crash could well be
>made disappear by changing the type of "s" to char const* (and, of course,
>passing whatever the string as string.c_str() to the ctor).
That experience has been given a specific name: "programming by
-- [ Gennaro Prota. C++ developer, Library designer. ] [ For Hire http://gennaro-prota.50webs.com/ ]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk