Changeset 76 for Generics/TemplateGenerics/Generic/StackInterface.tpl
- Timestamp:
- Oct 29, 2010, 7:49:29 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Generics/TemplateGenerics/Generic/StackInterface.tpl
r73 r76 4 4 {$INCLUDE 'ListInterface.tpl'} 5 5 6 // TGStack<T ListIndex, TListItem> = class(TGList)7 TGStack = class (TGList)6 // TGStack<TStackIndex, TStackItem> = class(TGList) 7 TGStack = class 8 8 private 9 FList: TGList; 9 10 public 10 11 procedure Push(Value: TStackItem); 11 12 function Pop: TStackItem; 13 constructor Create; 14 destructor Destroy; override; 15 property List: TGList read FList; 12 16 end;
Note:
See TracChangeset
for help on using the changeset viewer.