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:
“The language of excitement is at best picturesque merely. You must be calm before you can utter oracles.”
—Henry David Thoreau (18171862)
“Surely, tis one step towards acting well, to think worthily of our nature; and as in common life, the way to make a man honest, is, to suppose him so ... so here, to set some value upon ourselves, enables us to support the character ... of generosity and virtue.”
—Laurence Sterne (17131768)