id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 6034,Problem of the split function in boost/date_time/time_parsing.hpp,fbriol@…,az_sw_dude,"If we call the function '''split''' with the string ""2010-01-01"" and "" "" as delimiter then the function sets the variables '''first''' and '''second''' with ""2010-01-01"" Maybe we should write this piece of code to initialize the parameter '''second''' with the correct value. {{{ bool split(const std::string& s, char sep, std::string& first, std::string& second) { int sep_pos = static_cast(s.find(sep)); first = s.substr(0,sep_pos); second = sep_pos == -1 ? """" : s.substr(sep_pos+1); return true; } }}} ",Bugs,new,To Be Determined,date_time,Boost 1.47.0,Problem,,,