delphi - Derive from specialized generic types -


Is it possible to get a square from a particular normal type:

  TzigriacBase & lt ; T & gt; = Class // ... end; TSpecializedDerived = Class (TGenericBase & lt; string & gt;) // ... end;  

Just wondering that all this is possible ...

The edit code works fine when I made it a new project Put in should be due to any other mistake; Sorry about that

Yes I have to do this at all. it's very useful. Some of my favorite moves are something like this:

  TSpecializedList = class (TObjectList & lt; TMyType & gt;) Public (Exclusive Additional Ways to Handle TMyType Objects) End;  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -