1 | struct Container { |
---|---|
2 | int *begin(); |
3 | int *end(); |
4 | }; |
5 | |
6 | void f() { |
7 | for (Container c; int varname : c) { |
8 | return; |
9 | } |
10 | } |
11 |
1 | struct Container { |
---|---|
2 | int *begin(); |
3 | int *end(); |
4 | }; |
5 | |
6 | void f() { |
7 | for (Container c; int varname : c) { |
8 | return; |
9 | } |
10 | } |
11 |