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

ptr.member should work here- I mean the compiler knows the left side is a pointer, so it should automatically dereference it.



C was practically a portable assembler when it was designed, and it was likely helpful for performance reasoning that all indirections were clearly visible.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: