Hi,

I'm trying to port a C/C++ SDK from an application to a Pascal Wrapper
using FPC 2.7.1. from SVN.

I have a templated fucntion on the C++ code that I will like to translate,
I know Generic classes are more or less working on the FPC SVN.

To my surprise this two lines of code doesn't produce any compiling errors:

type
  generic test<M,N>  = procedure( m1 : M; n1 : N);
  generic test2<M,N> = function( m1 : M; n1 : N): Boolean;

But how to write the implementation?

This means the FPC parser understand it but they will not compile?

Any help and extra information will be appreciated.
David
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to