Hacker News new | past | comments | ask | show | jobs | submit login

You lose the ability to pass create zero-cost slices, though. C++11 actually implements strings like this, but iterators allow you to pass in parts of the string as necessary.



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

Search: