Does the StringView/Span implementation here seem lacking? If the underlying data goes away, wouldn't the pointer now point to an invalid freed location, because it doesn't track the underlying data in any way?
replies(2):
The benefit of these types is that they're a pair of pointer+size, instead of just a bare pointer without a known size.