
2 Nov
2011
2 Nov
'11
5:09 p.m.
Fast solution will be: @@ -1144,6 +1144,7 @@ bool shl_input_streamable(InputStreamable& input) { std::basic_ostream<CharT> stream(&stringbuffer); + stream << '\0'; // Force stringbuffer initialization bool const result = !(stream << input).fail(); start = stringbuffer.pbase(); finish = stringbuffer.pptr(); This patch replaces Segmentation Fault with bad_lexical_cast exception. OK to merge to trunk? Best regards, Antony Polukhin