Recent

Author Topic: Generics.Collections?  (Read 9723 times)

Frantic

  • New Member
  • *
  • Posts: 18
Generics.Collections?
« on: August 26, 2010, 07:19:55 pm »
Is there in FPC something like Generics.Collections unit in modern Delphi?

mas steindorff

  • Hero Member
  • *****
  • Posts: 526
Re: Generics.Collections?
« Reply #1 on: August 26, 2010, 07:50:33 pm »
I seem to remember seeing some collection somewhere someone will probably respond about. if not, I've found the TObjectList works great as a holder of a list of tobjects (of all the same type).
windows 7/10 - laz 2.0 / 1.2.6 general releases

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11260
  • FPC developer.
Re: Generics.Collections?
« Reply #2 on: August 26, 2010, 09:04:38 pm »
Is there in FPC something like Generics.Collections unit in modern Delphi?

Yes, unit fgl.

bflm

  • Jr. Member
  • **
  • Posts: 54
    • Free Pascal Random Bits
Re: Generics.Collections?
« Reply #3 on: August 27, 2010, 11:27:31 am »
Is there in FPC something like Generics.Collections unit in modern Delphi?
Shameless plug: Work in progress, starting and experimental stage, supports FPC trunk version only. With test coverage and initial documentation.
http://code.google.com/p/fprb/wiki/heContnrs

Leledumbo

  • Hero Member
  • *****
  • Posts: 8739
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Generics.Collections?
« Reply #4 on: August 28, 2010, 06:10:29 am »
Quote
Shameless plug: Work in progress, starting and experimental stage, supports FPC trunk version only. With test coverage and initial documentation.
http://code.google.com/p/fprb/wiki/heContnrs
Nice, another STL competitor? No download except through svn?

bflm

  • Jr. Member
  • **
  • Posts: 54
    • Free Pascal Random Bits
Re: Generics.Collections?
« Reply #5 on: August 28, 2010, 02:33:04 pm »
Nice, another STL competitor? No download except through svn?
Competition with STL is not the goal. Release w/download should be definitively provided when/if the project matures at least a little bit.

 

TinyPortal © 2005-2018