logoalt Hacker News

throwaway889900today at 4:36 PM0 repliesview on HN

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?