[fpc-devel] Pass compiler options to generics [was Delphi	anonymous methods]
    Alexander Klenin 
    klenin at gmail.com
       
    Wed Mar  6 12:13:24 CET 2013
    
    
  
On Wed, Mar 6, 2013 at 10:00 PM, Michael Schnell <mschnell at lumino.de> wrote:
> On 03/05/2013 05:17 PM, Alexander Klenin wrote:
>>
>> 1) Make sure "is" and "as" work with generic types -- maybe they already
>> are?
>
> "is" the generic type and/or "is" a certain specialization ?
Yes, and also generic parameters.
procedure TGenegic<T>Proc;
begin
  if T is String then ...
end;
-- 
Alexander S. Klenin
    
    
More information about the fpc-devel
mailing list