4 ms·
I would flag assigning a return value to a string_view in code review. Same as assigning to a pointer. Yes, it’s one more thing nudging the programmer toward u
by blub 4y ago
I would flag assigning a return value to a string_view in code review. Same as assigning to a pointer.
Yes, it’s one more thing nudging the programmer toward unsafe use, but this is C++ we’re talking about: only the strong survive.