[Bug c++/69784] New: Range-based for loop can
oszi at inf dot u-szeged.hu
gcc-bugzilla@gcc.gnu.org
Fri Feb 12 12:43:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69784
Bug ID: 69784
Summary: Range-based for loop can
Product: gcc
Version: 5.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: oszi at inf dot u-szeged.hu
Target Milestone: ---
#include <iostream>
#include <array>
using namespace std;
int main()
{
array<int, 5> i = {1,2,3,4,5};
for (auto& i : i)
{
cout << i <<endl;
}
return 0;
}
More information about the Gcc-bugs
mailing list