Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: An inlining and macro peculiarity... (MSVC++ 6)

Author: Russell Reagan

Date: 10:46:41 08/22/03

Go up one level in this thread


On August 22, 2003 at 10:21:16, Omid David Tabibi wrote:

>When seeig __inline, the compiler analyzes the cost/benefit and decides whether
>to inline. However, when __forceinline is mentioned, that cost/benefit analysis
>is forgone and the compiler tries to inline it.
>
>In case case, if the compiler doesn't inline a function mentioned as __inline or
>__ forceinline, a warning is displayed. I didn't find any such warning, which
>indicates that the function was inlined... but was it?! I will check the
>assembly output later today.

Is there any difference between 'inline' and '__inline'?



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.