r/cpp • • Apr 30 '26

C++26: string and string_view improvements

https://www.sandordargo.com/blog/2026/04/29/cpp26-string-string_view-improvements
70 Upvotes

20 comments sorted by

View all comments

Show parent comment

2

u/johannes1971 May 14 '26

That's option f3, which I explained wasn't great. As for the rest: I'm happy to explain why cstring_view is useful, but this kind of dismissive "just use char *" is not a discussion I wish to pursue further.