diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-03-20 17:16:16 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-03-20 17:16:16 +0100 |
| commit | 2f9e3917ef86ac0b00a517394df8a903c97770e1 (patch) | |
| tree | 6779cc922909b2c4ba3516ff894746a2a8d1e71b /arch | |
| parent | fb366b3c59941ea4c8e0a8d6e29ba0263f89bb02 (diff) | |
| download | teachos-2f9e3917ef86ac0b00a517394df8a903c97770e1.tar.xz teachos-2f9e3917ef86ac0b00a517394df8a903c97770e1.zip | |
kstd/vector: allow self-referential pushes
Previously, calling `v.push_back(v.front())` might have resulted in
undefined behavior if reallocation needed to occur. This patch provides
for this and allows self-referential pushes.
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions
