id summary reporter owner description type status milestone component version severity resolution keywords cc 6452 lexical_cast fails when src inserts 0 chars into stream. Eric Niebler Antony Polukhin "The following code works with 1.46.1 but fails with a `bad_lexical_cast` exception on 1.48. {{{#!cpp #include #include #include struct my_string { friend std::ostream &operator<<(std::ostream& sout, my_string const& st) { return sout << """"; } }; int main() { try { my_string st; std::string st2 = boost::lexical_cast(st); } catch(boost::bad_lexical_cast const &e) { std::cout << e.what() << std::endl; } } }}} " Bugs closed Boost 1.49.0 lexical_cast Boost 1.48.0 Regression fixed