[DiscordArchive] when doing
[DiscordArchive] when doing
Archived author: Rymercyble • Posted: 2023-11-24T11:53:11.975000+00:00
Original source
when doing
```cpp
do {
} while (result->NextRow());
```
is it ok to use `continue` or could it break something ?
Archived author: Revision • Posted: 2023-11-24T12:13:26.581000+00:00
Original source
No, why would it break something? You just skip a row.
Archived author: Rymercyble • Posted: 2023-11-24T12:14:59.203000+00:00
Original source
i dont know maybe its something like removing item in range based loop ¯\_(ツ)_/¯
Archived author: Rymercyble • Posted: 2023-11-24T12:15:07.598000+00:00
Original source
i rather ask than debug something like that
Archived author: Revision • Posted: 2023-11-24T12:16:40.508000+00:00
Original source
I see. Understandable.
Archived author: Nyeriah • Posted: 2023-11-24T12:40:03.480000+00:00
Original source
Continue doesn’t remove the element it just jumps to the next
Archived author: Nyeriah • Posted: 2023-11-24T12:40:21.528000+00:00
Original source
Wouldn’t make sense if it broke anything since it’s something created to be used in iterations specifically
Archived author: Nyeriah • Posted: 2023-11-24T12:40:33.018000+00:00
Original source
It doesn’t have use outside iteration
Archived author: Rymercyble • Posted: 2023-11-24T12:48:18.111000+00:00
Original source
i didnt expect it to break anything but i dont trust implementations which i didnt create so just in case <:kek:1065379143887372398>
Archived author: Kitzunu • Posted: 2023-11-24T13:50:49.777000+00:00
Original source
so dont use it, reinvent it yourself