Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: C++ question (OT)

Author: Paul

Date: 11:36:57 01/19/01

Go up one level in this thread


On January 19, 2001 at 12:32:06, Larry Griffiths wrote:

>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.

I'm also using BCB5, and indeed there isn't a forceinline, unfortunately :(
I like it very much for GUI building and programming, but VC++ seems to
have a lot more options for optimizing ...

Paul




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.