Liste des Groupes | Revenir à cl c |
On Fri, 2025-06-13 at 08:03 +0200, Bonita Montero wrote:All containers with MSVC are bounds-checked wile debugging.Am 12.06.2025 um 15:05 schrieb Tim Rentsch:Really? What are they?
>void update_my_socks(int *sock, int val) {>
const unsigned N = sizeof socks / sizeof socks[0];
socks[val % N] = sock;
}
For someone who uses bounds-checked containers in C++ every day
this really looks achaic.
Les messages affichés proviennent d'usenet.