[fpc-pascal] "Double" specialization of generic class

Xiangrong Fang xrfang at gmail.com
Tue Apr 15 03:51:42 CEST 2014


Hi,

I got strange ppcx64 error: -139, which I found is caused by this:

type
  TNodeStack = specialize TVector<TNodeHash>;

where TNodeHash itself is a specialization:

type
  PNode = ^TNode; //TNode is a plain record
  TNodeHash = specialize TTreap<Integer, PNode>;

Is it true that specialization of a generic class using another specialized
generic class is not allowed?

Thanks!

Xiangrong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140415/54670911/attachment.html>


More information about the fpc-pascal mailing list