D - more or less power than C++?
Hasan Aljudy
hasan.aljudy at gmail.com
Sun Mar 5 18:56:46 PST 2006
Walter Bright wrote:
> "Jarrett Billingsley" <kb3ctd2 at yahoo.com> wrote in message
> news:dudept$19qp$1 at digitaldaemon.com...
>
>>And in D, f(x) can be visually ambiguous as well - is the parameter in,
>>out, or inout?
>
>
> At least you know it's a function call, rather than a declaration of x of
> type f!
>
>
You can declare basic datatypes like this:
# int(x);
#
# x = 10;
ironically, if you use an alias, you can't do it
# alias int t;
#
# t(x1);
# x1 = 10;
More information about the Digitalmars-d
mailing list