typedef '?

evilrat evilrat666 at gmail.com
Wed Nov 20 02:54:29 PST 2013


On Wednesday, 20 November 2013 at 10:49:19 UTC, seany wrote:
> is typedef gone?
> http://forum.dlang.org/thread/aqsjjrtzfzslcopabqgs@forum.dlang.org?page=2
>
> so If I want to define a new type as typedef string[] 
> surrealNumber, then it does not work?

it is replaced with alias.
so for ur case this would looks like "alias string[] 
surrealNumber;" or "alias surrealNumber = string[];"


More information about the Digitalmars-d-learn mailing list