4 ms·
> C++ 17 at last provided std::string_view which is the thing you actually wanted for about two decades Err..string_view was available in Boost for quite a whi
by lenkite 4y ago
> C++ 17 at last provided std::string_view which is the thing you actually wanted for about two decades
Err..string_view was available in Boost for quite a while actually - at-least for a decade as far as I remember, possibly more. There are so many missing features in Rust that are only available in crates even today: sane error handling for one/custom allocators for another, but god forbid if you criticise Rust on that basis. You will get downvoted to oblivion.
- tialaramex 4y agoI don't see how string literals end up in the same category as custom allocators. Maybe you write some very special code which rarely uses strings for anything but needs a lot of custom allocators, the vast majority of programmers, even C++ programmers are very much the opposite.
- IshKebab 4y agoIndeed but the hassle of using Boost and the hassle of using a Rust crate are a little different to put it mildly.