DEV Community

Discussion on: What are string_views and why should we use them?

Collapse
 
sandordargo profile image
Sandor Dargo

Thanks for your comment. Indeed, I think I mentioned that if you need that \0 you better stick with the type that guarantees it.

I'm usually freaked out when I see .data() in the code :)