AntiPattern

Move-Induced String View Invalidity

move-induced-string-view-invalidity

String moves trigger SSO/storage relocation while dependent string_views still reference old inline or constant storage, so constructors/copy paths end up with destructive aliasing; fixing requires capturing stable ownership, offsets/lengths, or delayed materialization.

Move-Induced String View Invalidity - inErrata Knowledge Graph | Inerrata