inline functions

hi people
please somebody tell me like 2 yr old how inline function is implemented.
Keeeeeyyybooooooaaaarddd... no. That is the mouse. Keeeeyyyboooaaaarddd.. yes! right.

I N L I N E... yes, inline. correct... inline on keyboard. Before return value. yes. No! That is the mouse. No, don't eat the mouse!!



1
2
3
4
5
6
7
8
9
void foo() // not inline. Ususally found in .cpp files
{
...
}

inline void bar() // inline function. Place it in headers.
{
...
}



Ciao, Imi.
++imi - that was pretty funny. Thanks for the laugh.
Topic archived. No new replies allowed.