Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: tnozicka at gmail dot com
Hi,
IMHO this two examples should have same result, but ...
// A
std::string s1{10, '\0'};
std::cout s1.length() std::endl; // prints 2 - wrong
// B
std::string s2
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: tnozicka at gmail dot com
std::experimental::string_view won't compile with -pedantic-errors
SOURCE:
#include experimental/string_view
int main()
{
return 0;
}
COMPILE OK
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: tnozicka at gmail dot com
Hi,
g++ asked me to submit a bug report, so here it is :)
=== ERROR ===
main.cpp:37:69
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: tnozicka at gmail dot com
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org
Target