2 ms·
string_view (like span) is meant for spatial memory safety, C++ doesn't help much with temporal memory safety. That said, span (unlike string_view) fails at it
by sirwhinesalot 3y ago
string_view (like span) is meant for spatial memory safety, C++ doesn't help much with temporal memory safety.
That said, span (unlike string_view) fails at its intended purpose, because C++ just loves to be a total clown show.