Talk:Inline function

From Wikipedia, the free encyclopedia

[edit] "in-line" vs. "inline"

The article seems inconsistent in the usage. Is there any diference between the two? Is 'inline' an adjective and 'in-line' a verb? I'll clean it up if I find out the rule.

They seem to be used interchangably. In certain contexts, such as "inline function", one spelling tends to prevail. The "in-line" spelling is somewhat older and more traditional. Most of the time "inline" is fine and understandable in just about any place. I don't know any hard and fast rule, and I don't think the part-of-speech one is true. Maybe someone else can shed more light on it. Derrick Coetzee 21:46, 26 Oct 2004 (UTC)
The language keywords in both C++ and C99 are "inline", and personally I encounter "inline" much more often than I do "in-line". Although of course that's not definitive evidence, I'd vote for using "inline" consistently. Neilc 08:17, 28 May 2005 (UTC)
no --Windymager 18:10, 3 December 2006 (UTC)

[edit] most used?

C++, C99, and GNU C each have support for inline functions, although 1989 ANSI C, the dialect of C most commonly used in practice, does not.

I doubt the bold statement of ansi being more used in practice, to be true. I see no reference and thus propose to eliminate it. 217.140.108.2 10:48, 14 September 2007 (UTC)