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

Since soft const constraint is not part of the type, perhaps you could pass it to a lambda function that treats it as a const and another lambda function that treats it as mutable. A sort of const region and mutable region.


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

Search: