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
21.01.2011 0:26, leledumbo пишет:
Another good one: http://code.google.com/p/stlpascal/ STLPascal
Uses pattern commonly used by C++ STL, but fortunately written in a much
more readable way. It has more data structures than heContnrs, but missing
the BTree implementation. Really, IMHO somebody's
Another good one: http://code.google.com/p/stlpascal/ STLPascal
Uses pattern commonly used by C++ STL, but fortunately written in a much
more readable way. It has more data structures than heContnrs, but missing
the BTree implementation. Really, IMHO somebody's got to merge all of these
librarie
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
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
TMyMap = specialize TFPGMap ;
begin
end.
_
On Wed, Jan 5, 2011 at 3:12 PM, Michael Van Canneyt
wrote:
> Hello,
>
> For those of you that need JSON support:
>
> I have committed support for streaming published properties (properties for
> which RTTI is generated) from objects to JSON and vice versa, in a unit
> fpjsonrtti.
>
> Not the full
On 20 January 2011 13:09, Sven Barth wrote:
> Am 20.01.2011 14:08, schrieb Sven Barth:
>
> Am 20.01.2011 11:13, schrieb Frank Church:
>>
>>>
>>> I am trying to compile Freepascal 2.5.1 on Windows and I get the error
>>>
>>>
>>> make -C pasjpeg distclean
>>>
>>> make:*** pasjpeg: No such file or
Am 20.01.2011 14:08, schrieb Sven Barth:
Am 20.01.2011 11:13, schrieb Frank Church:
I am trying to compile Freepascal 2.5.1 on Windows and I get the error
make -C pasjpeg distclean
make:*** pasjpeg: No such file or directory. Stop
the version is 16795M
Has that directory been removed?
A
Am 20.01.2011 11:13, schrieb Frank Church:
I am trying to compile Freepascal 2.5.1 on Windows and I get the error
make -C pasjpeg distclean
make:*** pasjpeg: No such file or directory. Stop
the version is 16795M
Has that directory been removed?
Are you inside the "packages" directory whe
On 20 Jan 2011, at 11:13, Frank Church wrote:
I am trying to compile Freepascal 2.5.1 on Windows and I get the error
make -C pasjpeg distclean
make: *** pasjpeg: No such file or directory. Stop
the version is 16795M
Has that directory been removed?
No, it's still there in svn.
Jonas
__
I am trying to compile Freepascal 2.5.1 on Windows and I get the error
make -C pasjpeg distclean
make: *** pasjpeg: No such file or directory. Stop
the version is 16795M
Has that directory been removed?
--
Frank Church
===
http://devblog.brahmancreations.com
___
13 matches
Mail list logo