| ||||||
| 5/17 |
| 2003/6/26-27 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Compilers] UID:28847 Activity:moderate |
6/26 What's a "constant function" in C? I ran across this term in the gcc
man page. Thanks.
\_ look at the info page. const functions are a gcc extension. gcc
assumes the function has no side effects and subjects it to
common subexpression elimination, for example when you call it
in a loop. -ali |
| 5/17 |
|