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

C has finally gained `alignas` so you can avoid the union hack or you could just rely on malloc to alway return the maximum alignment anyway.




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

Search: