Top "Inline" questions

Use this tag for questions specifically about the effects of the inline keyword, together with the appropriate language tag.

When do compilers inline C++ code?

In C++, do methods only get inlined if they are explicitly declared inline (or defined in a header file), or …

c++ optimization compiler-construction inline
How to embed image in html in MFMailComposeViewController for iPhone

I am trying to embed a bunch of small images in an html table which I want to send using …

iphone html image inline photo
Does ANSI-C not know the inline keyword?

When compiling something as simple as inline int test() { return 3; } int main() { test(); return 0; } with gcc -c test.c, everything …

c inline c89
When should I (and should I not) use Scala's @inline annotation?

I believe I understand the basics of inline functions: instead of a function call resulting in parameters being placed on …

scala inline
Why are pointers to inline functions allowed?

I have two questions: 1) Why are pointers to inline functions allowed in C++? I have read that the code of …

c++ function inline
Use of `inline` in F#

The inline keyword in F# seems to me to have a somewhat different purpose than what I'm used to in …

f# types inline
Detect inline/block type of a DOM element

How to detect whether a DOM element is block or inline with javascript? For example, is there a function/property …

javascript dom inline
Can I check if the C# compiler inlined a method call?

I'm writing an XNA game where I do per-pixel collision checks. The loop which checks this does so by shifting …

c# optimization inline compilation
Inline function linkage

I can't make sense of the following behavior: one header with some basic types, and another header in which I …

c++ function inline
Visible inline div disappears after being displayed with fancyBox

I am posting a problem and solution here to help anyone who has experienced the same problem as me. I …

jquery fancybox inline fancybox-2