Is typedef an alien?
language_fan
foo at bar.com.invalid
Thu Sep 24 12:05:05 PDT 2009
Thu, 24 Sep 2009 14:36:01 -0400, Aenigmatic thusly wrote:
> No further response to any responses to my previous post's responses is
> a both swift and non-invasive.
>
> Now my deeply thought question is ...
>
> Is typedef (in D) a C/C++ legacy or is the dear orphan now adopted as a
> first-class citizen in the US of D?
>
> -- Yours truly, Justin Johansson
Typedef works differently in D. It should create a new type, in C++ it's
just a type synonym.
More information about the Digitalmars-d
mailing list