Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: C++ question (OT)

Author: Severi Salminen

Date: 01:36:32 01/19/01

Go up one level in this thread



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



This page took 0.01 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.