Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: C++ question (OT)

Author: Larry Griffiths

Date: 09:32:06 01/19/01

Go up one level in this thread


On January 19, 2001 at 04:36:32, Severi Salminen wrote:

>
>>>Would there be any downside to the inline function?
>>
>>Some compilers might decide to treat it as a normal function instead of inlining
>>it, in some cases. I think Borland does this if the inline function contains
>>loops or other things it considers "too complex".
>
>In VC++ 6.0 you can specify __forceinline and compiler _will_ make it an inline
>function. Very useful. There might be this option in Borland as well - which one
>are you using?
>
>Severi

I am using Borland Builder 5 and I have never found any forceinline like VC has.

Larry.



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.