I’m not quite getting what you’re trying to say…  Free Pascal and Delphi
do have distinct syntaxes for generic type definition and
specialization.  You may want to consult respective documentations to
clarify your understanding of the code.

  ◦ Delphi ―
     <http://docwiki.embarcadero.com/RADStudio/en/Overview_of_Generics>
  ◦ Free Pascal ―
     <http://www.freepascal.org/docs-html/ref/refch8.html>

Hope it helps.

On April 26, at 18:00, ZHANG Dao-yuan wrote:

>> tFpGMap<tObject
> The form of the code is similar to a comparision expression and `<' here
> looks like a less-than operator. But they are not. In my opinion, fpc
> should not take the declaration as a statement then try to search for
> the nonsense operator-overloaded methods.

-- 
Best Regards,
JC Chu
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to