0_0_39248994_14252.cpp: In function 'int main()':
0_0_39248994_14252.cpp:17:22: error: expected identifier before numeric constant
17 | char[0] = s[0];
| ^
0_0_39248994_14252.cpp:17:22: error: expected ']' before numeric constant
17 | char[0] = s[0];
| ^
| ]
0_0_39248994_14252.cpp:17:21: error: structured binding declaration cannot have type 'char'
17 | char[0] = s[0];
| ^
0_0_39248994_14252.cpp:17:21: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
0_0_39248994_14252.cpp:17:21: error: empty structured binding declaration
0_0_39248994_14252.cpp:18:22: error: expected identifier before numeric constant
18 | char[1] = s[1];
| ^
0_0_39248994_14252.cpp:18:22: error: expected ']' before numeric constant
18 | char[1] = s[1];
| ^
| ]
0_0_39248994_14252.cpp:18:21: error: structured binding declaration cannot have type 'char'
18 | char[1] = s[1];
| ^
0_0_39248994_14252.cpp:18:21: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
0_0_39248994_14252.cpp:18:21: error: empty structured binding declaration
0_0_39248994_14252.cpp:19:22: error: expected identifier before numeric constant
19 | char[2] = s[2];
| ^
0_0_39248994_14252.cpp:19:22: error: expected ']' before numeric constant
19 | char[2] = s[2];
| ^
| ]
0_0_39248994_14252.cpp:19:21: error: structured binding declaration cannot have type 'char'
19 | char[2] = s[2];
| ^
0_0_39248994_14252.cpp:19:21: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
0_0_39248994_14252.cpp:19:21: error: empty structured binding declaration
|