[fpc-devel] Type range in generic
Simon Jackson
jackokring at gmail.com
Mon Dec 3 00:33:02 CET 2018
Just an idea.
Class variables. If generics are used, then the same code can be used for differing pointer types. (Classes) as long as a specifier on the "generic class variable" and no generic specialize or <> is in the
class generic x: TObject;
Can it be shared across all generics of a kind?
The code density in the cache would be good for all common generics.
https://kring.co.uk
________________________________
From: fpc-devel <fpc-devel-bounces at lists.freepascal.org> on behalf of Sven Barth via fpc-devel <fpc-devel at lists.freepascal.org>
Sent: Sunday, December 2, 2018 4:01:44 PM
To: FPC developers' list
Cc: Sven Barth
Subject: Re: [fpc-devel] Type range in generic
Am So., 2. Dez. 2018, 10:50 hat Ryan Joseph <ryan at thealchemistguild.com<mailto:ryan at thealchemistguild.com>> geschrieben:
> On Dec 2, 2018, at 4:00 PM, Sven Barth via fpc-devel <fpc-devel at lists.freepascal.org<mailto:fpc-devel at lists.freepascal.org>> wrote:
>
> Please report as a bug.
I don’t get a bug on this in the trunk version I’m using. Maybe it was fixed?
Could be, I didn't test yet. But even then it can be resolved with "no change required". ;) (and be added as a test case)
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20181202/6fcf7017/attachment.html>
More information about the fpc-devel
mailing list