<div dir="auto"><div><div class="gmail_extra"><div class="gmail_quote">Am 23.10.2017 04:14 schrieb "Marcos Douglas B. Santos" <<a href="mailto:md@delfire.net">md@delfire.net</a>>:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
In Pascal we can do this:<br>
<br>
type<br>
TXStream = TStream;<br>
<br>
Now, TXStream is just an alias to TStream.<br>
<br>
How do the same with generic classes, using mode delphi?<br>
<br>
TBar<T> = TFoo<T>;<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Type aliases are currently not supported in mode Delphi. In mode ObjFPC they might work, but I'm not sure about that either... </div><div dir="auto"><br></div><div dir="auto">That said I also don't see the use of type aliases for generics... </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven</div></div>