ich nutze zwar kein FPC, aber Google meinte z.B. dieses dazu
Zitat:
In short, my second syntax proposal is:
- generic definition syntax (type section):
* {type_name} = generic {type_definition} of {generic_holder} ;
- generic implementation syntax (var section):
* {var_name} : specialize {generic_type} for {implemented_type} ;
* or if it's defined in type section:
* {type_name} = specialize {generic_type} for {implemented_type} ;
aus http://www.nabble.com/FPC's-generics-t3914040.html