Language Support
C++, C99, and GNU C each have support for inline functions. Different compilers vary in how complex a function they can manage to inline. Mainstream C++ compilers like Microsoft Visual C++ and GCC support an option that lets the compilers automatically inline any suitable function, even those not marked as inline functions.
An inline function can be written in C99 or C++ like this:
inline int max(int a, int b) { return (a > b) ? a : b; }Then, a statement such as the following:
a = max(x, y);may be transformed into a more direct computation:
a = (x > y) ? x : y;Read more about this topic: Inline Function
Famous quotes containing the words language and/or support:
“Any language is necessarily a finite system applied with different degrees of creativity to an infinite variety of situations, and most of the words and phrases we use are prefabricated in the sense that we dont coin new ones every time we speak.”
—David Lodge (b. 1935)
“Three factorsthe belief that child care is female work, the failure of ex-husbands to support their children, and higher male wages at workhave taken the economic rug from under that half of married women who divorce.”
—Arlie Hochschild (20th century)