Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.2.0 / tests / webtbs / uw15591.pp
Size: Mime:
unit uw15591;
{$mode objfpc}
interface

type
  generic GSmartArray<TSomeType> = class
  private
    fItems :array of TSomeType;
  public
    function Length() :Integer;
  end;

  TBooleanSmartArray = specialize GSmartArray<Boolean>;

implementation

function GSmartArray.Length() :Integer;
begin
  Result := System.Length(fItems);
end;

end.