I have questions about FPC and inlining.

Imagine you have a class like this :

type
  TFoo = class(TObject)
  public
     ...
     procedure foo;inline;
  end;

implementation

procedure TFoo.foo;inline;
begin
   ...
end;


Is the keyword 'inline' is needed in the implementation section ?

Does the use of this keyword follow the same rules as in C++ about how optimisations are made by the compiler ?


--
Damien Gerard
[EMAIL PROTECTED]



_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to