[Bug c++/82346] New: String is not detected as a part of std
krzysio.kurek at wp dot pl
gcc-bugzilla@gcc.gnu.org
Wed Sep 27 20:41:00 GMT 2017
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;
}
More information about the Gcc-bugs
mailing list