https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82346
Bug ID: 82346 Summary: String is not detected as a part of std Product: gcc Version: 5.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: krzysio.kurek at wp dot pl Target Milestone: --- Most basic code fails to compile. #include <iostream> #include <string> int main () { std::string perfect = std::to_string(1+2+4+7+14) + " is a perfect number"; std::cout << perfect << '\n'; return 0; }