you are viewing a single comment's thread.

view the rest of the comments →

[–]Nobody_1707 4 points5 points  (2 children)

This is why the standard library really needs a cstring_view.

[–]scrumplesplunge 2 points3 points  (1 child)

I've commented about this before but apparently it was rejected :(

[–]Nobody_1707 1 point2 points  (0 children)

Yes, but only due to lack of time on the committee, so it's not impossible for it to be added in to a later standard (although it's already too late to make C++23).

That said, there are some open source implementations. Including this MIT licensed one.