Am 18.03.2015 11:52 schrieb "Maciej Izak" :
>
> 2015-03-17 23:35 GMT+01:00 Sven Barth :
>>
>> I won't commit it as long as I haven't made sure that it doesn't rely on
any implementation details. And that needs time...
>
>
> IMO the most important to fix is:
>
> http://bugs.freepascal.org/view.php?i
2015-03-17 23:35 GMT+01:00 Sven Barth :
> I won't commit it as long as I haven't made sure that it doesn't rely on
> any implementation details. And that needs time...
>
IMO the most important to fix is:
http://bugs.freepascal.org/view.php?id=24848
http://bugs.freepascal.org/view.php?id=25607
R
> https://github.com/dathox/generics.collections
Thanks. Git makes life easier.
--
Regards,
Denis Golovan
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Am 17.03.2015 21:08 schrieb "Maciej Izak" :
>
> 2015-03-16 14:15 GMT+01:00 denisgolovan :
>>
>> BTW, could you upload it to GitHub to be able to pull new changes easier?
>> It looks like it will be a long way to official FPC package.
>
>
> Right :D, maybe FPC team don't need Generics.* :O
>
> https
2015-03-16 14:15 GMT+01:00 denisgolovan :
> BTW, could you upload it to GitHub to be able to pull new changes easier?
> It looks like it will be a long way to official FPC package.
Right :D, maybe FPC team don't need Generics.* :O
https://github.com/dathox/generics.collections
Regards,
Maciej
> Alternatively you can use THashMap from Generics.Collections -> this
> implementation don't need any operators overloading, will work with most of
> FreePascal types and it is much, much faster :)
Yes. I saw your library.
Looks promising, but I am a bit concerned about amount of bugs related t
Alternatively you can use THashMap from Generics.Collections -> this
implementation don't need any operators overloading, will work with most of
FreePascal types and it is much, much faster :)
http://bugs.freepascal.org/view.php?id=27206
(download generics_collections_final.zip ->
http://bugs.free
21.01.2011 3:07, Paul Ishenin пишет:
21.01.2011 0:28, Alex Shishkin wrote:
Following code causes error "Operator is not overloaded: "TObject" <
"TObject""
How to make it work?
program generictest2;
{$mode objfpc}{$H+}
uses
fgl;
operator < (a: TObject; b: TObject): boolean;
begin
result :=
21.01.2011 0:28, Alex Shishkin wrote:
Following code causes error "Operator is not overloaded: "TObject" <
"TObject""
How to make it work?
program generictest2;
{$mode objfpc}{$H+}
uses
fgl;
operator < (a: TObject; b: TObject): boolean;
begin
result := PtrInt(a) < PtrInt(b);
end;
type
TMy
2011/1/20 Alex Shishkin :
> As I understand problem is in the compiler. It cant use overloaded operator
> if it was defined after generic.
AFAIK exactly that is the problem and that's why TFPGMap can't cope
with some types.
>> You can take a look on this container lib, which might be helpful for y
20.01.2011 22:18, Honza пишет:
2011/1/20 Alex Shishkin:
Following code causes error "Operator is not overloaded: "TObject"<
"TObject""
How to make it work?
program generictest2;
{$mode objfpc}{$H+}
uses
fgl;
operator< (a: TObject; b: TObject): boolean;
begin
result := PtrInt(a)< PtrInt(b)
2011/1/20 Alex Shishkin :
> Following code causes error "Operator is not overloaded: "TObject" <
> "TObject""
> How to make it work?
>
> program generictest2;
> {$mode objfpc}{$H+}
> uses
> fgl;
> operator < (a: TObject; b: TObject): boolean;
> begin
> result := PtrInt(a) < PtrInt(b);
> end;
> ty
12 matches
Mail list logo