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

You can easily beat "static const volatile signed long long int bar" with a function pointer (and without the unrealistic redundant indirection of "int const ... const foo"). Start with static const volatile signed long long int (*foo)(static const volatile signed long long int bar). :)



calls by function pointers can't be resolved at compile time and thus won't be optimized. depending on the program you're working on you might want to consider this.


Not strictly true, it is quite possible to statically resolve many uses of function pointers.




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

Search: