Re:String tokenization in C
by Matthias247 on Saturday December 15, 2018 @12:43PM
(#18689371)
The approach obviously only works for read access and not for mutation. However those are the most often required operations. For owned strings and mutations different APIs are required. C++ string_view vs string, and Rusts str slices vs owned Strings work like this.
[ Parent
| on HN ]
There are no comments on this comment yet.