[fpc-pascal] Smart Pointers

Michael Van Canneyt michael at freepascal.org
Wed May 11 14:47:15 CEST 2016



On Wed, 11 May 2016, Maciej Izak wrote:

> 2016-05-11 14:23 GMT+02:00 Michael Van Canneyt <michael at freepascal.org>:
>
>> Where is that written ?  As far as I know, it is only there because classes
>> is there, and classes has some define to allow it to be compiled with fgl.
>>
>>
> by Sven (29 January 2016 10:54 thread "Generics.Collections as package for
> Lazarus or package for FPC RTL"):
>
> "also fgl is a nice test durog cycling the compiler that nothing basic was
> broken with generics; one of the main reason it's still in rtl and not
> rtl-objpas or rtl-extra"

Well I missed that, but I think this argument will be overruled, it is
rather a weak one.

>
> keeping module in RTL just to have nice test to check compiler cycle is
> ... very very very strange.

I agree. And hence I think we will move it.

>> There should not be double standards.
>> If the consequence is that the fgl unit should move as well: No problem
>> with that.
>
>
> If we will keep right order then I have no problem with Generics.* as
> rtl-generics package, and I can realize my plans with compiler in other,
> more correct way.

See the reply by Marco. We'll be moving units out of RTL, rather than in.
That includes fgl and classes (better late than never ;) ).

Michael.



More information about the fpc-pascal mailing list