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

Why can't I stackalloc an array of references? Shouldn't it be as simple as stackalloc nint[5]; ?

Somebody decided that "safety" included rejecting obvious concepts like this.



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

Search: