aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-03-20 17:16:16 +0100
committerFelix Morgner <felix.morgner@ost.ch>2026-03-20 17:16:16 +0100
commit2f9e3917ef86ac0b00a517394df8a903c97770e1 (patch)
tree6779cc922909b2c4ba3516ff894746a2a8d1e71b /arch
parentfb366b3c59941ea4c8e0a8d6e29ba0263f89bb02 (diff)
downloadteachos-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