Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Walter is talking about D, and he said this:

> D doesn't distinguish between a string and a string view.

In C++ std::string owns the buffer and std::string_view borrows it. If there is no difference between the two in D, then how is this difference bridged?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: