I have a little bit problem,and that is when i use inline function? Another one is advantage and disadvantage of inline function.
Anyone help me?
There are no simple answers. [url]http://www.parashift.com/c++-faq-lite/inline-functions.html#faq-9.3[/url] In my experience, a good function to inline is one i. which has a stable (unlikely to change) implementation. ii. which is frequently called (the program spends a signifanct portion of its time in calling and executing the function). iii. which has a code … Read More
Edited by Fbody: n/a